summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Konojacki <me@xenu.pl>2020-05-30 23:09:51 +0200
committerKarl Williamson <khw@cpan.org>2020-05-30 16:21:28 -0600
commit84a3a670bcbc2ad9070f67a797152355f67b2681 (patch)
treebeadce70dbf9f3193ecd358f6586fb010bfa8e4c
parent57be79bdeb7cc5d9a749eaf3d2a64fce73dfce84 (diff)
downloadperl-84a3a670bcbc2ad9070f67a797152355f67b2681.tar.gz
perldelta: mention sort optimization
-rw-r--r--pod/perldelta.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 661dc3762e..e50d94a23f 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -268,6 +268,11 @@ have been sped up.
C<grok_number_flags> has been sped up.
+=item *
+
+C<sort> is now noticeably faster in cases such as C<< sort {$a <=> $b} >> or
+C<< sort {$b <=> $a} >>. [L<GH #17608|https://github.com/Perl/perl5/pull/17608>]
+
=back
=head1 Modules and Pragmata