forked from Netflix/hollow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: V2 Escape control chars when stringifing JSON (Netflix#492)
Only process a single character at a time - Processing 4 at at a time has more repeatable timing but on average is slower. Processing an unescaped string can be faster than the original method of find/find.
- Loading branch information
1 parent
a11ff94
commit c96faa7
Showing
1 changed file
with
10 additions
and
38 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