10 million lines text file opening takes minutes to load in gedit and won't load full file hangs
SciTE editor loads the same file in 5-10 seconds.
Gedit stops loading a file at 3.2 to 3.5 million line after a wait of minutes and becomes unresponsive. Why not use Scintilla editor component for better efficiency which can load 10 million lines and yet we can work with huge text databases?
Yes, it is rare that someone would work with millions of lines of text. But for the ones who do work with large data, like Dictionary data (wordnet) etc., what solution does Gnome provide?
Here's python3 code to generate 10 million lines of code
cat > ten_million.py
for i in range(10000001):
print(i,' 12345'*5)
$ python3 ten_million.py > large_file.txt
Let's try loading:
gedit large_file.txt
gedit hangs after loading 3.5 million lines out of 10 million
SciTE large_file.txt
10 Million lines of text file loads in few seconds:
Please consider efficient editing component for gnome editors. Thank you.