Closed mipearson closed 9 years ago
The parser state machine was originally written as a performance testing exercise as the original regex was the last big performance bottleneck.
Unfortunately, it was pretty awful code.
This rewrites the state machine so that it's easier to understand and also introduces a performance boost for escape code heavy files.
:santa:
The parser state machine was originally written as a performance testing exercise as the original regex was the last big performance bottleneck.
Unfortunately, it was pretty awful code.
This rewrites the state machine so that it's easier to understand and also introduces a performance boost for escape code heavy files.