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

[MEMORY] Switched from a sparse array to a red-black tree #1180

Merged
merged 2 commits into from
Dec 31, 2023

Conversation

rajdakin
Copy link
Collaborator

This PR switches the way memory permission is tracked, from a sparse array to a red-black tree (self-balancing binary search tree). The notion of hot pages has also been removed.
Performance does not seem to be very impacted, and memory usage has decreased a bit for processes which used a lot of RAM (for example, Steam uses ~100M less memory and every process of wine uses ~15M less memory).

@ptitSeb ptitSeb merged commit 5e9e1fa into ptitSeb:main Dec 31, 2023
30 checks passed
tristanmorgan added a commit to tristanmorgan/box64 that referenced this pull request Jan 2, 2024
ptitSeb pushed a commit that referenced this pull request Jan 2, 2024
@hisham2630
Copy link

this change prevent gta v from loading properly it shows social club failed to intialize error 4
Just cause 2 won't launch at all.

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.

3 participants