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

Optimize 24-bit and 32-bit and/or/xor operations #449

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

calc84maniac
Copy link
Contributor

24-bit operations have been optimized to reduce two bytes/fetches. 32-bit operations are the same speed and size as before, but now save 23 bytes each when the 24-bit operation is also used.

For the "fast" variants, the 32-bit operations also receive the speed and size savings, and also save 7 bytes each when the 16-bit operation is used.

(Yes, I combined the files again, but I think the scope here is fine and the new filenames are appropriate. I recommend reviewing the individual commits.)

@mateoconlechuga
Copy link
Member

I like the combining of functions into one file :)

@mateoconlechuga mateoconlechuga merged commit 4839a98 into master Sep 27, 2023
7 checks passed
@mateoconlechuga mateoconlechuga deleted the bitwise-optimizations branch September 27, 2023 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants