3 ms·
I haven't used Atom yet but choking on initial load of large files was a big downer for me when using Sublime Text 2. This is a problem that memory mapped file
by georgemcbay 13y ago
I haven't used Atom yet but choking on initial load of large files was a big downer for me when using Sublime Text 2.
This is a problem that memory mapped files solved a long time ago, seeing newer editors revert so badly on this is just sad.
- stormbrew 13y agoMemory mapping the file doesn't really help an editor much. For one thing you can't have your buffer changing arbitrarily underneath your parse of it. But also in order to have both precise and fast scrolling, especially when syntax highlighting or line wrap is involved (usually you don't want both but you might want one or the other), you need to do at least a superficial parse on the whole thing anyway.