This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Store GvGP in the SV head union. For all the common lookups [eg GvCV()]
authorNicholas Clark <nick@ccl4.org>
Sat, 25 Feb 2006 00:39:30 +0000 (00:39 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 25 Feb 2006 00:39:30 +0000 (00:39 +0000)
commitf7877b281b40407827939f44ea94226de573cdbc
treea9a5cac49427908841ae0bf5a3af524fee855e6a
parentfb4fc1faf0cb0e6b2bec4f31ddbca2817f387a6e
Store GvGP in the SV head union. For all the common lookups [eg GvCV()]
this avoids 1 pointer dereference and the associated risk of a CPU
cache miss. Although this patch looks deceptively small, I fear its
CBV(*) might be rather high.
(* Crack By Volume)

p4raw-id: //depot/perl@27323
dump.c
ext/Devel/Peek/t/Peek.t
gv.c
gv.h
pp.c
pp_hot.c
sv.c
sv.h