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

Code (de)serialization cleanup and optimization #1886

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

colinator27
Copy link
Member

Description

Completely refactored and commented code instruction deserialization and serialization, removing many calls and I/O operations.

Caveats

Has potential to break some instruction parsing if I typo'd somewhere, but I did test it on multiple games (including Undertale 1.00, a bytecode 14 game), and it seems to work fine. If it does break, it'll be pretty obvious, as re-saving a data.win file will show differences in the code.

Notes

Split up from previous serialization cleanup/optimization PR.

Copy link

github-actions bot commented Aug 23, 2024

@Miepee Miepee merged commit 6f470f8 into master Aug 23, 2024
5 checks passed
@colinator27 colinator27 deleted the code-serialization-cleanup branch August 23, 2024 20:45
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