Commit bac5fd7
committed
⚡✅ Update Stringprep BIDI regexps to run in O(n)
The BIDI_FAILURE regexps all used `\g<name>` to define char classes and
then re-use them. Unfortunately, ruby 3.2 can't compile that to run in
linear time. The regexps could also be written using lookahead, but
that also wouldn't run in linear time.1 parent 92db350 commit bac5fd7
File tree
4 files changed
+14
-74
lines changed- lib/net/imap/stringprep
- rakelib
- test/net/imap
4 files changed
+14
-74
lines changed
0 commit comments