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
perf: avoid allocating new strings when no characters need to be escaped or removed
- Added fast-path check in `escape_chars` to detect early if escaping is needed.
- Added fast-path `contains` check in `replacements` to prevent regex deep cloning and unprintable chars removal when not needed.
0 commit comments