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

perf: Optimize BitflagsN Read & Write #23

Merged
merged 3 commits into from
Jan 10, 2024

Conversation

MierenManz
Copy link
Collaborator

I only benchmarked bitflags 8 (against the branch #21 like last time)
Because most of this is the same code so it will all have similar performance gains

Function Gain
ReadPacked 4x
Read 3.6x
WritePacked 5.5x
Write 5.5x

image

@MierenManz
Copy link
Collaborator Author

BitFlags64 is the only one that does not have these massive gains but still good results
image

@load1n9 load1n9 requested a review from eliassjogreen January 10, 2024 07:34
@MierenManz MierenManz merged commit 38e95b9 into denosaurs:main Jan 10, 2024
2 checks passed
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