-
Notifications
You must be signed in to change notification settings - Fork 243
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
[RUST] Flat index benchmark #461
Conversation
bc4944e
to
2be92e3
Compare
let a = from.values(); | ||
let b = to.values(); | ||
let mut d = 0.0; | ||
// Better chance to auto-vectorization. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only got about 5% from this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's interesting. thought those blog posts showed bigger gains
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how do we distribute this in the python package?
let a = from.values(); | ||
let b = to.values(); | ||
let mut d = 0.0; | ||
// Better chance to auto-vectorization. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's interesting. thought those blog posts showed bigger gains
For macOS, we can build it with
I think i did not try hard enough. |
Flat
index