summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRichard Leach <richardleach@users.noreply.github.com>2021-12-03 00:10:51 +0000
committerPaul Evans <leonerd@leonerd.org.uk>2021-12-04 11:49:42 +0000
commitf7f919a02477385250997b98fe25f99657653150 (patch)
treee82e9cd32275eed214553785ba0c77d2a13e501b /lib
parent6ac93b496cce8882a9d5494bfedb84f4da7e0aee (diff)
downloadperl-f7f919a02477385250997b98fe25f99657653150.tar.gz
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)
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions