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

Add 'unsafe' versions of each function #6

Open
bllu404 opened this issue Feb 22, 2022 · 0 comments
Open

Add 'unsafe' versions of each function #6

bllu404 opened this issue Feb 22, 2022 · 0 comments

Comments

@bllu404
Copy link

bllu404 commented Feb 22, 2022

Math64x61_assert64x61 is expensive! I was able to reduce the step count of a function by close to 60% just by getting rid of that assert where it wasn't necessary (meaning the fixed-point operations were guaranteed to not overflow).

Of course these should be used very carefully, but I think they'd be a useful addition.

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

No branches or pull requests

1 participant