|
|
|
|
|
by vidarh
1581 days ago
|
|
As I noted in another comment, I think a lot of complexity in many editors is because they worry about handling absurdly large files without thinking about whether they need to. The moment you're willing to set an arbitrary limit above which you're ok with dropping performance, you can go very simple the way you did. And that limit where things start to slow down can be far over the size of files most people need most of the time. For my own part I'm fine with falling back to e.g. emacs the one time every few months I need do do something with an unusually large file. |
|
If you're optimizing for a 2 GB apache log, you're probably focusing on the wrong thing.