Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test string from taken from the the test suite: `"\"a\\\\b\"=>\"b\\\\ar\", \"1\\\"foo\"=>\"2\""` Bench: ``` Warming up -------------------------------------- original 6.896k i/100ms patched 15.787k i/100ms Calculating ------------------------------------- original 68.176k (± 1.2%) i/s - 344.800k in 5.058270s patched 157.786k (± 1.0%) i/s - 789.350k in 5.003144s Comparison: patched: 157786.0 i/s original: 68176.1 i/s - 2.31x (± 0.00) slower ``` Memory before: allocated 4376 bytes (55 objects) Memory after: allocated: 1880 bytes (23 objects)
- Loading branch information
Showing
2 changed files
with
28 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters