fmthoma / vgrep

A pager for grep
BSD 3-Clause "New" or "Revised" License
104 stars 8 forks source link

Pager becomes REALLY slow for big files #7

Closed fmthoma closed 8 years ago

fmthoma commented 8 years ago

Either use a Zipper-like Buffer (as for the results list), or switch to something like mmap.

fmthoma commented 8 years ago

Jumping to a line in a big file still takes time proportional to the number of lines skipped, but at least navigation is smooth after that. Maybe switch to mmap.