Hacker News new | ask | show | jobs
by compressedgas 2234 days ago
The memory usage can be explained by what structure it uses for its buffer. It is a Lua table of lines. It is this splitting of the file into lines that causes the larger memory usage due to internal fragmentation.