News for hackers. Stuff that matters.
Re:Making bracket pair colorization faster by sweetsocks21 on Wednesday September 29, 2021 @01:12PM (#28696711)
I don't see why it couldn't be cheap if the editor always enforced being structurally valid? Then AST transformations are as fast as modifying a tree. A comment node would just wrap the necessary items and could unwrap them in linear/constant time.

https://twitter.com/dm_0ney/status/1414742962442014720

There are no comments on this comment yet.