-
Notifications
You must be signed in to change notification settings - Fork 824
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
Speed up filter_bytes
#6699
Speed up filter_bytes
#6699
Conversation
8c423c0
to
cf11d70
Compare
cf11d70
to
afc3191
Compare
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.
👍
I also ran the benchmarks and see the same improvements 👍
|
Thanks @Dandandan and @jayzhan211 |
Wow that even seems a much bigger improvement 🤔 |
Will rerun and see if I can reprodice |
Results of rerunning
|
Interesting, so it seems to have even bigger effect on other machines (maybe when branch misses have more impact or it can generate even better code) - my result is from M1 pro |
This is what I am running on:
|
Ok, thanks for sharing! |
Which issue does this PR close?
MutableBuffer
doesn't always generate optimal code compared to usingVec
. I think the main performance difference might be inMutableBuffer::push
(but not sure if that explains all the difference).Closes #.
Rationale for this change
What changes are included in this PR?
Are there any user-facing changes?