diff options
author | Ricardo Signes <rjbs@semiotic.systems> | 2022-05-21 17:24:43 -0400 |
---|---|---|
committer | Ricardo Signes <rjbs@semiotic.systems> | 2022-05-21 17:24:43 -0400 |
commit | 610e10032fd9297fedd930f5bae6a3d976d6a623 (patch) | |
tree | 45ac17aea7850a4fe2427fd7a68641755102c0fe | |
parent | 0d3b3506b94e4155b7b9cc838dfc2df55b90db02 (diff) | |
download | perl-610e10032fd9297fedd930f5bae6a3d976d6a623.tar.gz |
perldoc: add performance enhancement note about #19414
-rw-r--r-- | pod/perldelta.pod | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 77c16f39bf..d267e996a1 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -377,6 +377,20 @@ This B<might> cause slightly increased memory usage for programs that create same keys. But generally our testing suggests that for the specific cases described it is a win, and other code is unaffected. +=item * + +In certain scenarios, creation of new scalars is now noticeably faster. + +For example, the following code is now executing ~30% faster: + + $str = "A" x 64; + for (0..1_000_000) { + @svs = split //, $str + } + +(You can read more about this one in L<[perl +#19414]|https://github.com/Perl/perl5/pull/19414>.) + =back =head1 Modules and Pragmata |