-
Notifications
You must be signed in to change notification settings - Fork 17
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
faster search #12
Comments
Very cool, definitely send along the full patch! |
Sending the patch (pastebin), I diffed the src directories this way:
Changelog:
I tested it on my Ubuntu 10.10 desktop (32bit) and Ubuntu 14.04 server (64bit). I hope it will be useful ;) ! |
Haven't forgot about this! Plan on integrating things this week! |
Addresses #12 Patch contributed by @samozrejmost
For what it's worth I have integrated this patch with some improvements in the branch improve-search of my own fork. Also I sent a pull request. |
Hello,
because I sometimes analyze memory dumps with hexcurse, I needed a faster search - so I implemented the Boyer–Moore string search algorithm to the hexSearch() function. It works fine for me, but it's a bit crude now (for example it doesn't work for edited files), but if you are interested, I can send you the full "patch".
Sample code:
The text was updated successfully, but these errors were encountered: