Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve mem reading performance for quests & assembly #367

Merged
merged 4 commits into from
Jun 21, 2024
Merged

Conversation

Pablete1234
Copy link
Member

@Pablete1234 Pablete1234 commented Jun 20, 2024

Quest & assembly are atm a big part of the memory reading footpring, this PR modifies them to be more careful & aware about what data they read only on address change (ie: immutable data) and which they read on each pass


private String type;
this.requirements.update(readAtom(0x48));
this.type = API.readString(0x58, 0x28);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this.type = API.readString(readAtom(0x58), 0x28);

@Pablete1234 Pablete1234 merged commit 1eed40f into master Jun 21, 2024
1 check passed
@Pablete1234 Pablete1234 deleted the perf-imp branch June 21, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants