News for hackers. Stuff that matters.
Re:Text Editor: Data Structures by weavie on Monday October 02, 2017 @10:38AM (#15384111)
Log files..
Re:Text Editor: Data Structures by mpweiher on Monday October 02, 2017 @10:51AM (#15384195)
Fair point, but do you actually edit log files in a text editor?

Because if you're just viewing, the "array of characters" representation is going to beat just about any other hands down, especially if you just mmap() the whole thing.

Re:Text Editor: Data Structures by weavie on Monday October 02, 2017 @12:08PM (#15384979)
True. Generally no, but sometimes I will insert several empty lines around a particular line of interest..
Re:Text Editor: Data Structures by gkya on Thursday October 05, 2017 @05:37AM (#15407806)
I've used vi where I meant the pager quite often. I was late at making the use of head, tail, grep, wc, du, stat, etc. to peak into data to become muscle memory.
Re:Text Editor: Data Structures by scott_s on Monday October 02, 2017 @10:48AM (#15384173)
Yes. Occasionally I'll open a 100MB+, or even a GB, log file without realizing it, and it will take vim many seconds to give me control.