This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate:
authorNicholas Clark <nick@ccl4.org>
Sat, 13 Jan 2007 18:10:34 +0000 (18:10 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 13 Jan 2007 18:10:34 +0000 (18:10 +0000)
commit4b6d7cf06534d8a697745dbfe2ab83d56c55d4fc
tree4bb0c0072d38b06916f4d37bc8ba7124a69ef72a
parent0507e8a313738000222ac02e987ad120085a4432
Integrate:
[ 26461]
Subject: [PATCH] Speed up Perl_sv_derived_from
From: Andy Lester <andy@petdance.com>
Message-ID: <20051222220044.GH4370@petdance.com>
Date: Thu, 22 Dec 2005 16:00:44 -0600

[ 26477]
For the rare case of EMFILE during require, save object code space
by using newSVpvf
(Would it be worth using it for all require failures?)

[ 26500]
Refactor the require failure message generation to use 1 less temporary
SV, and to build as much text as possible with newSVpvf

[ 26503]
gv_fetch_flags in newATTRSUB can actually be const.
Comment the logic behind the terms in the ternary that chooses the
flags value.

[ 26517]
As the backreferences AV doesn't hold references on its contents,
surely it should have AvREAL turned off?

[ 26534]
Reduce size of buffers for identifier names, as suggested in

Subject: Stack usage (in gv_stashpvn and others)
From: Tels <nospam-abuse@bloodgate.com>
Date: Thu, 29 Dec 2005 18:40:49 +0100
Message-Id: <200512291840.50765@bloodgate.com>

[ 26541]
Now that the backreference array has no NULL entries, and is correctly
marked as AvREAL_off(), there's no reason not to use sv_dup to clone
it.

[ 26544]
Tweak S_init_main_stash so as allocate PL_curstname as a shared string
scalar, and hence avoid thrashing the shared string table for "main".

[ 26550]
Remove unneeded test in Perl_hv_clear_placeholders.
Rejig S_hfreeentries to a double loop, which is clearer and smaller.

[ 26552]
Turn a for loop that's almost a while into an honest-to-goodness while.
p4raw-link: @26552 on //depot/perl: cf6db12b45410d62d1d8568c336c79f938bf3310
p4raw-link: @26550 on //depot/perl: 7440661e2628bf13f68b1828cf423db52f268294
p4raw-link: @26544 on //depot/perl: 23579a14417118b3085c688fa8e8359c0d0a93ba
p4raw-link: @26541 on //depot/perl: d7cbc7b5c258cffaf362ecafb36c5dfc354c1ffa
p4raw-link: @26534 on //depot/perl: 0cea005841294e1c066737aa1ee9f5a7235bc7bc
p4raw-link: @26517 on //depot/perl: e3d998840fa41946cf8ee609337ef4edea761fd2
p4raw-link: @26503 on //depot/perl: b48b272aa95a2266df9fecc3e1bbd0e34ff4d9ae
p4raw-link: @26500 on //depot/perl: b8f04b1b779ce1dfdaee8f5444dc413afe3e9866
p4raw-link: @26477 on //depot/perl: b9b739dc8249ced77343a7411d1a5714224db0f8
p4raw-link: @26461 on //depot/perl: 0b6f4f5cb8bbeb6c5d1eb714dbf6cdf58c5516d7

p4raw-id: //depot/maint-5.8/perl@29789
p4raw-edited: from //depot/perl@26552 'edit in' hv.c (@26551..)
p4raw-integrated: from //depot/perl@26544 'merge in' perl.c (@26535..)
p4raw-edited: from //depot/perl@26534 'edit in' gv.c (@26532..)
p4raw-integrated: from //depot/perl@26517 'edit in' sv.c (@26505..)
p4raw-integrated: from //depot/perl@26503 'merge in' op.c (@26494..)
p4raw-integrated: from //depot/perl@26477 'edit in' pp_ctl.c (@26450..)
p4raw-integrated: from //depot/perl@26461 'merge in' universal.c
(@26450..)
gv.c
hv.c
op.c
perl.c
pp_ctl.c
sv.c
universal.c