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
Use BMH for memmem #312
Comments
this will speedup r_str_str too http://old.blog.phusion.nl/2010/12/06/efficient-substring-searching/ |
If the algorithm is better +1 for my side. |
i think this will speedup RCons and SDB |
Check it's already partially used here - https://github.com/radare/radare2/blob/master/libr/search/search.c#L8 |
I try to bring back part of Boyer-Moore-Horspool at radareorg/radare2#8195 .
the blocks are sent to the string matching algorithm by chunks of |
the blocksize can be changed by the user. im aware thats a performance issue if the user does a wrong choice |
This issue has been automatically marked as stale because it has not had recent activity. Considering a lot has changed since its creation, we kindly ask you to check again if the issue you reported is still relevant in the current version of radare2. If it is, update this issue with a comment, otherwise it will be automatically closed if no further activity occurs. Thank you for your contributions. |
https://github.com/xerub/ibex64/blob/27f8cd2e185a883e6fd74df722e5ca643dccdd63/lib/memmem.c
The text was updated successfully, but these errors were encountered: