-
Notifications
You must be signed in to change notification settings - Fork 143
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
Feature request: Using SIMD for byte search #1264
Comments
@He-Pin Thanks for sharing the blog post 😄. Interesting stuff |
Yes, but have no time to test it locally. with it, a single loop will test 8 bytes. But without the vector api that what we can do now. |
so cool |
Unfortunately, I don't think I'll have capacity to look into this in the near future. Also, my knowledge of SIMD is pretty limited. Having said that:
I think there's value in first trying something that is not using the Vector API (like the code suggested above). That way Pekko can keep supporting old Java versions, as well as being easier to cross compile to JS and Native. Hopefully that would hit the autovectorizaton logic in some of those platforms, but I haven't tested that 😅 |
Motivation:
When reading the code in #1247 , I recall that we can improve performance with SIDM.
related blog: https://richardstartin.github.io/posts/finding-bytes
and for reference in Netty: netty/netty#10737
Would you like to take a look at this too @JD557
The text was updated successfully, but these errors were encountered: