Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: only iter on found escape sequences (#304)
Finding used sequences is much faster than iterating over each one of them for each character. The iteration is still used, but at least it will only be used once per any sequence that is actually used in the string. Most strings won't include any sequences and will just be fast. @moduon MT-1075
- Loading branch information