Hello,
during the task of #3735 I've observed a possible improvement regarding the navigateNext() when the "limit elements per level" is turned on (1000 elements).
Hints:
- the matches are already sorted, it should be checked if further sorting is necessary or can be removed.
- when "element per level" limit is turned on, it shouldn't be necessary to do calculations above that.
Example project:
Example.zip
Reproduction scenario:
Start file Search and search for "e", select the C.txt and remove it from the matches. It should freeze for a few minutes.
Snapshot of jvisualvm:
jvisualvm-snapshot.zip
Thank you in advance.
Best regards
Mehmet Karaman