Re:Making bracket pair colorization faster
by howinteresting on Wednesday September 29, 2021 @11:36AM
(#28695132)
The big thing they don't tell you in CS class is that constant factors matter far more than asymptotic complexity most of the time. (There are a few exceptions though.)
[ Parent
| on HN ]
Re:Making bracket pair colorization faster
by leetcrew on Wednesday September 29, 2021 @01:30PM
(#28697042)
a text editor (especially for code) is a good example of a case where both matter. it doesn't take much latency to make typing a very frustrating experience. the common case (editing small files) needs to be very fast. but we also need to gracefully handle very large files that involve nontrivial processing (10kloc+ c++ files do unfortunately exist). I gave up on atom several years ago when it slowed to a crawl opening a 4kloc c file. vs code can handle many multiples of that without breaking a sweat, so it's my current first choice.