4 ms·
This would also be too slow. The user may want to jump from line 1 to line 999999. You can't do a file load fast enough.
by phendrenad2 5y ago
This would also be too slow. The user may want to jump from line 1 to line 999999. You can't do a file load fast enough.
- Semaphor 5y ago> This would also be too slow. The user may want to jump from line 1 to line 999999. You can't do a file load fast enough. My text editor supports files up to 256 GB in size, unless you have that much memory, you’ll have to wait a little bit to go from the first to the last line.
- andai 5y agoThat's great, which editor is that?
- erwincoumans 5y agoI use UltraEdit, it opens files way beyond hundreds of GB without issues, both text and binary (in hex edit mode). Love that editor for over 10 years (perpetual license) on Windows, Mac and Linux. See the video loading a 35GB text file: https://www.ultraedit.com/support/tutorials-power-tips/ultraedit/large-file-handling.html https://www.ultraedit.com/support/tutorials-power-tips/ultra...
- Semaphor 5y agoEmEditor, it’s windows only: https://www.emeditor.com/ https://www.emeditor.com/
- erwincoumans 5y agoIsn't that what having offsets and mmaps are for? With that information, jumping lines becomes constant time.