Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 54ca894738d71b8a053b5405699c66b8c0bd346d
      
https://github.com/Perl/perl5/commit/54ca894738d71b8a053b5405699c66b8c0bd346d
  Author: Richard Leach <richardle...@users.noreply.github.com>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M perl.c
    M pp_sys.c
    M toke.c

  Log Message:
  -----------
  Replace SvGROW with sv_grow_fresh in perl.c, pp_sys.c, toke.c

Changed:
 * perl.c - Perl_moreswitches
 * pp_sys.c - pp_sysread
 * toke.c - Perl_scan_str

In each of the above functions, one instance of SvGROW on a new SVt_PV
can be swapped for the more efficient sv_grow_fresh. In two of the
instances, the calls used to create the the SVt_PV have also been
streamlined.

There should not be any functional change as a result of this commit.


Reply via email to