-
-
Notifications
You must be signed in to change notification settings - Fork 354
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
Multithread string search #2665
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wargio
force-pushed
the
multithread-string-search
branch
from
June 6, 2022 14:11
3920cb3
to
e2ff82f
Compare
wargio
changed the title
Multithread string search
Multithread string search + refactoring
Jun 6, 2022
wargio
force-pushed
the
multithread-string-search
branch
2 times, most recently
from
June 8, 2022 22:44
60c9fd1
to
a6e1155
Compare
wargio
force-pushed
the
multithread-string-search
branch
2 times, most recently
from
June 10, 2022 17:55
05fc7ac
to
de630ae
Compare
wargio
force-pushed
the
multithread-string-search
branch
from
June 20, 2022 18:49
113394b
to
dc10818
Compare
wargio
force-pushed
the
multithread-string-search
branch
from
June 21, 2022 19:08
835c84d
to
d654d47
Compare
wargio
requested review from
ret2libc,
thestr4ng3r,
XVilka and
kazarmy
as code owners
June 21, 2022 19:22
wargio
changed the title
Multithread string search + refactoring
Multithread string search
Jun 21, 2022
XVilka
requested changes
Jun 22, 2022
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.
Looks great! And definitely faster
wargio
force-pushed
the
multithread-string-search
branch
from
June 23, 2022 16:25
53f931c
to
98d5bf8
Compare
wargio
force-pushed
the
multithread-string-search
branch
from
June 25, 2022 11:13
12225f1
to
b9a7fba
Compare
XVilka
approved these changes
Jun 27, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Your checklist for this pull request
Detailed description
The following changes to the code has been applied:
izz
on 600 Mb file uses less ram and takes with 4-threads0m28.528s
compared to single-thread0m42.386s
).bin.maxstrbuf
with a proper warning message.HtUP *strings_db;
fromRzBinObject
since it is used only whenrz_bin_file_strings
is called and nowhere else.search_str.c
andbfile.c
for thread-safety and correctness.