You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Separate the functions for unescaping each kind of string and unit:
- this duplicates some code, but also gets rid of code that is only there for genericity
- each function is now simpler by inlining booleans, which might lead to faster code
Use a Peekable<CharIndices<'_>> instead of going back and forth between string slice and chars iterator.
- this gets rid of most position computations
- allows removal of double traversal for correct backslash newline escapes in skip_ascii_whitespace
Improves documentation
0 commit comments