Speed up escaped byte buf parsing#534
Conversation
1bdb8de to
1769934
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #534 +/- ##
===========================================
- Coverage 100.00% 99.39% -0.61%
===========================================
Files 85 85
Lines 14658 14271 -387
===========================================
- Hits 14658 14184 -474
- Misses 0 87 +87 ☔ View full report in Codecov by Sentry. |
The codecov regression seems unrelated and mostly occurs in derives and test macros - it should be handled separately |
The fuzzer times out when parsing a 100k long unicode string because checking for escaped strings is slow. This PR makes two small changes to speed this case up by ~ x3
'"'and'\\'* [ ] I've included my change inCHANGELOG.md