ov
ov copied to clipboard
Don't read entire entire file into memory
One of the property of pagers like less is that they are memory bounded by default, so they don't read the entire file into memory and can easily be used on huge files (say 100s of GBs)
Looking at less source code, this doesn't seem trivial to implement.
But this would be a great win for ov!
Thank you.
The policy is different from less, but I will consider the upper limit.
Could just mmap, no?
Implemented in v0.20.0. Please give it a try. (This release may be unstable.)
I officially released v0.30.0. This has been resolved.