3 ms·
i wonder if they're forced to run the highlighter on a huge range now instead of restricting it to viewport. has this affected perf?
by leeoniya 10y ago
i wonder if they're forced to run the highlighter on a huge range now instead of restricting it to viewport.
has this affected perf?
- FLGMwt 10y agoI'd imagine the highlighter wouldn't optimize for viewable area except for abnormally large files. Highlighter probably runs for the full file. Also, doesn't it need the context of the full file for proper syntax awareness?
- amk_ 10y agohttps://code.visualstudio.com/blogs/2017/02/08/syntax-highlighting-optimizations https://code.visualstudio.com/blogs/2017/02/08/syntax-highli...