|
|
|
|
|
by Klathmon
3733 days ago
|
|
I'm also convinced it's the syntax highlighting in atom that contributed to a massive amount of its "sluggishness". It uses regex with some off-the-wall engine that they chose because it supports just about every encoding under the sun. Many of the language syntax packages I looked at could easily improve their regex performance. Plus when you open a file as "plain text" or disable the syntax highlighting package much of the sluggishness goes away. I'd love to dive in and try and fix it myself but I won't have time to for a few months. The code itself isn't horrible just a little undocumented. |
|
My personal guess is that is because Code might use a more stream-like processing of the source files and does not have the whole files in memory (it also works with really big files - which Atom does not support) and that this does work better