5 ms·
It's amazing how true this is, huge files work fine, but one long line... I wish I knew more about editors to help fix it.
by ddispaltro 11y ago
It's amazing how true this is, huge files work fine, but one long line... I wish I knew more about editors to help fix it.
- prasoon2211 11y agoYeah, I actually looked at atom sometime back. They have a problem with long lines because their regex engine runs in O(n^2). I suggested that they switch to a regex engine that runs in O(n). https://github.com/atom/atom/issues/979#issuecomment-77703711 https://github.com/atom/atom/issues/979#issuecomment-7770371... I don't know what happened after that. Maybe they will act on this. The only problem with the O(n) engine was that a lot of TextMate grammars for languages wouldn't work with atom but that was easily resolvable by writing them anew.