-
Notifications
You must be signed in to change notification settings - Fork 159
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
Searching bytes backward #239
Comments
Just had a look inside and presume first step might be to adjust the for loop, perhaps:
So could add a memfindBackwards_rb or otherwise named.
No idea if that's helpful or just nieve, perhaps if it might be useful ? ... I should actually try taking it further but I hate setting up builds. But don't want to get in the way if I'm completely off track. |
mm shift probably won't work like that I'll stop talking. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently have Bytes.find that allows searching bytes forward, but String.lastIndexOf would require searching bytes backwards.
Also, we might want to have some optimization when searching for very small patterns such as a single 16 bits char.
The text was updated successfully, but these errors were encountered: