Skip to content

Commit

Permalink
perldoc: add performance enhancement note about Perl#19414
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed May 21, 2022
1 parent 0d3b350 commit 610e100
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pod/perldelta.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 610e100

Please sign in to comment.