magic-string with the capability of committing changes. One of the great features of MagicString is that it always relates to the original string positions. However, in some cases, you want to make ...
A CompactString is a more memory efficient string type, that can store smaller strings on the stack, and transparently stores longer strings on the heap (aka a small string optimization). It can ...