Re:Sublime Text 4
by popotamonga on Friday May 21, 2021 @07:51AM
(#27232866)
All nice i use it a lot but why does it take way too many seconds to open large files? And its not the cpu i have top cpu ram and ssds.
[ Parent
| on HN ]
A plausible explanation is that it's doing some kind of preprocessing of the file into a data structure that allows for faster or more responsive scrolling and editing of huge files. For example a rope or similar: https://en.wikipedia.org/wiki/Rope_(data_structure)