3 ms·
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
by sweetsocks21 5y ago
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 https://twitter.com/dm_0ney/status/1414742962442014720