textwrap
textwrap copied to clipboard
Add fast path to `UnicodeBreakProperties::find_words`
The method is terribly complex and somewhat slow — we should rework it to have a fast path for the case where we don't see any CSI characters in the string.
Originally posted by @mgeisler in https://github.com/mgeisler/textwrap/pull/313#discussion_r611017466