@@ -60,16 +60,16 @@ similar to the way that C<:reader> already creates reader accessors.
6060
6161=head2 New C<any> and C<all> operators
6262
63- Two new experimental features have been added, which add two new list-processing
64- operators, C<any> and C<all>.
63+ Two new experimental features have been added, which introduce the
64+ list-processing operators C<any> and C<all>.
6565
6666 use v5.40;
6767 use feature 'keyword_all';
6868 no warnings 'experimental::keyword_all';
6969
7070 my @numbers = ...
7171
72- if( all { $_ % 2 == 0 } @numbers) {
72+ if ( all { $_ % 2 == 0 } @numbers ) {
7373 say "All the numbers are even";
7474 }
7575
@@ -145,12 +145,9 @@ v5.10. Their behavior was significantly changed in v5.10.1. When the
145145retroactively declared experimental. Over the years, proposals to fix or
146146supplement the features have come and gone.
147147
148- They were deprecated in Perl v5.38.0 and scheduled for removal in Perl
149- 5.42.0, and entirely removed in Perl 5.41.3.
150-
151- After some discussion these have been re-instated in 5.41.9.
152-
153- Using them no longer produces a deprecation warning.
148+ They were deprecated in Perl v5.38.0 and scheduled for removal in
149+ Perl v5.42.0. After some discussion their removal has been indefinitely
150+ postponed. Using them no longer produces a deprecation warning.
154151
155152Switch itself still requires the C<switch> feature, which is enabled
156153by default for feature bundles from v5.9.5 through to v5.34. Switch
@@ -346,10 +343,6 @@ C<("A" x 1_000_000).time> might be a suitable small change.
346343
347344=item *
348345
349- C<Perl_leave_adjust_stacks>: additional efficiency for mortal copies.
350-
351- =item *
352-
353346C<tr///> now runs at the same speed regardless of the internal
354347representation of its operand, as long as the only characters being
355348translated are ASCII-range, for example C<tr/A-Z/a-z/>. Previously, if
@@ -397,21 +390,6 @@ when coming from an C<SVt_IV>, is now more efficient.
397390
398391=item *
399392
400- Subroutines in packages no longer need to be stored in typeglobs:
401- declaring a subroutine will now put a simple sub reference directly in the
402- stash if possible, saving memory. The typeglob still notionally exists,
403- so accessing it will cause the stash entry to be upgraded to a typeglob
404- (i.e. this is just an internal implementation detail).
405- This optimization does not currently apply to XSUBs or exported
406- subroutines, and method calls will undo it, since they cache things in
407- typeglobs.
408- [L<GH #23001|https://github.com/Perl/perl5/issues/23001>]
409-
410- (This optimization was originally announced in L<perl5220delta>, but due to a
411- bug it only worked for subroutines in package C<main>, not in modules.)
412-
413- =item *
414-
415393String reversal from a single argument, when the string buffer is not
416394"swiped", is now done in a single pass and is noticeably faster.
417395The extent of the improvement is compiler & hardware dependent.
0 commit comments