On 02/01/2015 01:42 PM, Wayne Hartell wrote:
> I grabbed a 1.5MB text file from Windows (converted using dos2unix, not that
> it appears to make a difference) and tried to open this in gedit and it
> takes about 45 seconds to open the file. That is a whole lot slower than I
> was expecting. To make things worse the performance within gedit is very
> sluggish and searching the text file is not possible; it simply locks up the
> gedit process (maxes out the CPU).

[...]

> One thing I have noticed under vim is that if I turn on line numbers the
> document is showing as several large chunks of text on a handful of lines,
> as opposed to a large number of short lines.  Would this be tripping up
> gedit performance wise perhaps? (And vi/gvim, presentation wise?)
> Any advice or tips on this, especially from Windows to Linux converts, would
> be gratefully received.
> 
> Right now it looks like I have to use two text editors to get what I want
> (gedit, as painfully slow as it is, to read through the file) and vi/gvim to
> search it.
> 
> Cheers.

In my experience, VIM is slow with long lines (which are automatically
wrapped and often look strange if the result is too large to fit on a
single page) and syntax highlighting. Using many short lines, VIM has
always been good enough for me (even with several MiB file size).

Whenever I need to edit large text files, I chose JEdit (Package
`jedit`) which has never been slow even with files above 50 MiB for me.

HTH
Linux-Fan

-- 
http://masysma.lima-city.de/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to