Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: f7f919a02477385250997b98fe25f99657653150
      
https://github.com/Perl/perl5/commit/f7f919a02477385250997b98fe25f99657653150
  Author: Richard Leach <[email protected]>
  Date:   2021-12-04 (Sat, 04 Dec 2021)

  Changed paths:
    M hv.c
    M pp.c
    M pp_ctl.c
    M pp_hot.c
    M pp_sys.c

  Log Message:
  -----------
  Misc microoptimizations when dealing with new SVs

In a few places, SVs can be created more efficiently or new SVs
can be assigned to more efficiently. Small changes included:
* Use sv_setpvn_fresh instead of sv_setpvn
* Use sv_mortalcopy_flags instead of sv_newmortal + sv_setsv_flags
* newSVsv_flags instead of newSV + sv_setsv_flags
* sv_newmortal instead of sv_2mortal(newSV(0))
* Remove a SvGROW(sv, 257) following a newSV(257)


Reply via email to