Skip to content

Find All in current document freezes NPP++ for more than 2 minutes #11878

@Hexaae

Description

@Hexaae

Find All is deadly slow

Description of the Issue

Find All in current document for large files takes too much (minutes, not seconds!)

Steps to Reproduce the Issue

  1. open for example this huge file workshop.zip
  2. 'Find All in current document' for ":" (443218 matches)
  3. repeat the same search at point 2 multiple times

Expected Behavior

Find and mark all occurrences in a few secs

Actual Behavior

Can take more than 2:33 minutes on i7-8750h, 32GB RAM. Can also freeze forever sometimes randomly on repeat.
Same thing on other programs like 'CudaText' is almost instant, on 'NotepadNext' takes 2 secs, on 'Geany' takes less than 8 secs...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions