-
Notifications
You must be signed in to change notification settings - Fork 257
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
fix source code search #595
Conversation
Is there any option to adjust the search model test for that case? |
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.
I would also appreciate a better test coverage to handle this ideally
I rewrote the search functions to use iterators instead + added some tests |
Looking forward to get this merged. |
The search functions only works on a limited range, but the model contained the complete source code. This patch runs the search function on only a subset of that code. fixes: #577
32067fe
to
044d9f1
Compare
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.
one minor nit then this can go in
thank you!
I've pot some time into testing the appimage - the source handling in the Disassembly window now seems to work fine. The only thing that feels strange is the go to function:
And of course #523 and #528 as well as #607 would be very helpful. |
Until now search() works on an array like object. This works fine if the whole array is searched. But if only a part is searched, this creates an unnecessary copy.
The search functions only works on a limited range, but the model contained the complete source code. This patch runs the search function on only a subset of that code.
fixes: #577