-
Notifications
You must be signed in to change notification settings - Fork 17
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
Refactor the implementation #23
base: main
Are you sure you want to change the base?
Conversation
43a7ef9
to
555846b
Compare
- move constants to their own variables. - remove hard-coded cycling. - simplify bit-arithmetic from u32 to u64
@tomhamiltonlambda, not sure how to reconcile this. This morning tried on a laptop with a different architecture and go numbers that contradict the ones we have been seeing so far. What kind of hardware do you have? |
I run on Windows, Intel processor. Looks like it's pretty inconclusive either direction - a separate point is that the code itself is now a lot clearer - I'd like to avoid going back on that. I can spinning up various EC2 instances and compare speed there. What else do you want to do? |
Yeah, it is pointing in different directions. Thanks to you, the new code looks much cleaner and more intelligible, and it would be nice to retain it. I will keep it open for now and occasionally try to see if I can figure out how to avoid performance degradation. But please do not spent more time on this. Thank you again! |
M4 Max (unbinned model), MacOS 15.1.1Main:
This PR:
rustc 1.85.0-nightly (7db7489f9 2024-11-25) |
macOS, ARM64
Main:
This PR:
Linux, AMD64
Main:
This PR: