Skip to content

Commit bd145ba

Browse files
hsbtzzak
and
zzak
authored
Update en/news/_posts/2022-12-25-ruby-3-2-0-released.md
Co-authored-by: zzak <[email protected]>
1 parent 19ef063 commit bd145ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/news/_posts/2022-12-25-ruby-3-2-0-released.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Since Ruby 3.2, Regexp's matching algorithm has been greatly improved by using a
9393

9494
The improved matching algorithm allows most Regexp matching (about 90% in our experiments) to be completed in linear time.
9595

96-
this optimization may consume memory proportional to the input length for each match. We expect no practical problems to arise because this memory allocation is usually delayed, and a normal Regexp match should consume at most 10 times as much memory as the input length. If you run out of memory when matching Regexps in a real-world application, please report it.
96+
This optimization may consume memory proportional to the input length for each match. We expect no practical problems to arise because this memory allocation is usually delayed, and a normal Regexp match should consume at most 10 times as much memory as the input length. If you run out of memory when matching Regexps in a real-world application, please report it.
9797

9898
The original proposal is <https://bugs.ruby-lang.org/issues/19104>
9999

0 commit comments

Comments
 (0)