Well done! Thank you for the write up.
How much did it improve load times? Why do you think syntect was faster than what you tried previously?
How much did it improve load times? Why do you think syntect was faster than what you tried previously?
I think Syntect is faster in general just because of the nature of the work (syntax highlighting is basically just a stack machine + running regex 24/7) and Rust being a really performant choice for this in comparison to Python/JS (although I am sure some less idiomatic code could improve the perf of a Python/JS implementation).
Hopefully one day I'll do a proper write-up / blog post on this topic and provide some more hard numbers / stats for everyone. :)