Improve performance by applying binary search to nodes#108
Improve performance by applying binary search to nodes#108cleydyr wants to merge 2 commits intogoto100:masterfrom
Conversation
|
Hello, thank you for submitting this PR and I'm sorry I have left it unresponded for so long. Your proposed change hinges on the use of the I'm not completely opposed to the idea of taking advantage of the |
|
Thanks to the conversation here I've learned that Regarding your changes to |
I've been looking #97 and I've noticed that applying binary search to certain parts of the algorithm is possible taking into account that the node lists are fully ordered by the pair (lineNumber, columnNumber).
The performance has improved significatively and all existing tests continue to pass.
Can you take a look at this?
Thank you.