| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
smaller.
p4raw-id: //depot/perl@27380
|
|
|
|
|
|
|
| |
Saves 1 word in each GV (no more strlen), and will also save the memory
used by the string itself, as the HEK will exist already due to the
key used by the symbol table for this GV.
p4raw-id: //depot/perl@27379
|
|
|
|
|
| |
(assignment from incompatible pointer type)
p4raw-id: //depot/perl@27348
|
|
|
|
|
| |
Message-ID: <20060224205434.GA17867@petdance.com>
p4raw-id: //depot/perl@27334
|
|
|
| |
p4raw-id: //depot/perl@27330
|
|
|
|
|
| |
Assert that GVs do not access SvCUR or SvLEN.
p4raw-id: //depot/perl@27328
|
|
|
|
|
| |
PVGVs by another pointer.
p4raw-id: //depot/perl@27326
|
|
|
|
|
| |
typeglobs.
p4raw-id: //depot/perl@27325
|
|
|
|
|
|
|
|
| |
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
|
|
|
| |
p4raw-id: //depot/perl@27319
|
|
|
|
|
| |
pad.
p4raw-id: //depot/perl@27313
|
|
|
|
|
|
| |
PVMGs in pad names where previously PVGVs were used. In turn, this
gives much greater flexibility for the layout of PVGVs.
p4raw-id: //depot/perl@27312
|
|
|
|
|
| |
OURSTASH. Set the stash with OURSTASH_SET.
p4raw-id: //depot/perl@27306
|
|
|
| |
p4raw-id: //depot/perl@27304
|
|
|
| |
p4raw-id: //depot/perl@27302
|
|
|
|
|
|
| |
SVpad_OUR with macros SvPAD_TYPED(), SvPAD_OUR() etc, to abstract
away the flags bits acutally used to store this information.
p4raw-id: //depot/perl@27294
|
|
|
| |
p4raw-id: //depot/perl@27293
|
|
|
|
|
|
|
|
|
|
|
| |
typeglobs never need to use SvPVX. This comes at price - typeglobs
were using magic get for their stringificiation, and to pass SvOK(),
so need to make typeglobs SvOK by default (by sucking SVp_SCREAM into
SVf_OK - it's the only flag left), tweak SvSCREAM() to also check
SVp_POK, and teach sv_2[inpu]v how to convert globs.
However, it should free up SvPVX for the next part of the plan to
pointer indirections, and therefore CPU cache pressure.
p4raw-id: //depot/perl@27278
|
|
|
|
|
|
|
| |
bits (0x0000XX00). This makes perl 3K smaller with -Os on x86 FreeBSD,
and might also help on other architectures (eg with 8 contiguous bits,
the SvOK() test on ARM won't need an intermediate constant).
p4raw-id: //depot/perl@27264
|
|
|
|
|
| |
that we can see where we're already double-booked.
p4raw-id: //depot/perl@27259
|
|
|
| |
p4raw-id: //depot/perl@27258
|
|
|
|
|
|
| |
arrays, rather than SVt_LAST, so that SVt_LAST can truthfully remain
the number of genuine SV types, unclouded by implementation details.
p4raw-id: //depot/perl@27251
|
|
|
|
|
|
|
|
|
| |
xcv_depth into the IV union saves 4(ish) bytes per CV and format.
"ish" because it was a long, but has been changed to I32 (along with
the corresponding field in struct block_sub) so as not to enlarge the
IV union on platforms where sizeof(long) > sizeof(IV), or struct
block_sub where sizeof(long) > sizeof(I32)
p4raw-id: //depot/perl@27247
|
|
|
|
|
| |
flag is added to denote whether the PVCV is perl or XSUB.
p4raw-id: //depot/perl@27244
|
|
|
|
|
| |
both needed.
p4raw-id: //depot/perl@27243
|
|
|
|
|
| |
manoeuvre as PVs, PVIVs, PVAVs and PVHVs.
p4raw-id: //depot/perl@27231
|
|
|
| |
p4raw-id: //depot/perl@27230
|
|
|
|
|
|
| |
used on scalars that don't have the memory allocated. Correct
SvSTASH and SvMAGIC to only evaluate the sv argument once.
p4raw-id: //depot/perl@27229
|
|
|
|
|
|
|
|
|
| |
Message-ID: <43F0F649.9040205@gmail.com>
Tweaked somewhat to split the arena boolean from the arena_size,
and with the PTE still doubling-up with one of the SV types in the
array.
p4raw-id: //depot/perl@27215
|
|
|
|
|
|
| |
Message-ID: <20060203152449.GI12591@accognoscere.homeunix.org>
Date: Fri, 3 Feb 2006 16:24:49 +0100
p4raw-id: //depot/perl@27065
|
|
|
|
|
| |
Message-ID: <20060202093849.GD12591@accognoscere.homeunix.org>
p4raw-id: //depot/perl@27054
|
|
|
|
|
|
| |
save duplicating mg_find calls, without changing the semantics in any
boolean context.
p4raw-id: //depot/perl@26979
|
|
|
| |
p4raw-id: //depot/perl@26652
|
|
|
|
|
|
| |
This brings them closer to STR_WITH_LEN. Besides only half
of them were sv-related after change 26649.
p4raw-id: //depot/perl@26650
|
|
|
|
|
| |
Can't use STR_WITH_LEN() as argument to a macro :-(
p4raw-id: //depot/perl@26649
|
|
|
|
|
| |
Gets rid of some hardcoded string lengths.
p4raw-id: //depot/perl@26646
|
|
|
|
|
| |
Gets rid of many hardcoded string lengths.
p4raw-id: //depot/perl@26641
|
|
|
|
|
| |
Message-ID: <20051228193051.GD23207@petdance.com>
p4raw-id: //depot/perl@26524
|
|
|
|
|
| |
<20051216201446.GA24709@rpc142.cs.man.ac.uk>
p4raw-id: //depot/perl@26382
|
|
|
|
|
| |
Abolish PL_he_root and PL_he_arenaroot.
p4raw-id: //depot/perl@26171
|
|
|
|
|
|
|
| |
into sv.h, to keep it in one central place.
Change it to use SVt_RV. (Having SVt_IV for real use will be useful.
SVt_RV has no body, and doesn't pretend to have one, so it is spare.)
p4raw-id: //depot/perl@26148
|
|
|
|
|
|
| |
Message-ID: <4378E5B0.3010708@gmail.com>
Date: Mon, 14 Nov 2005 12:29:52 -0700
p4raw-id: //depot/perl@26141
|
|
|
|
|
| |
with a macro SvIS_FREED(sv)
p4raw-id: //depot/perl@26132
|
|
|
| |
p4raw-id: //depot/perl@26112
|
|
|
|
|
| |
mathoms.c
p4raw-id: //depot/perl@25885
|
|
|
|
|
|
|
| |
sv_catpvn_flags and sv_catsv_flags, and then re-implement sv_catpvn_mg
and sv_catsv_mg as calls to sv_catpvn_flags and sv_catsv_flags
respectively.
p4raw-id: //depot/perl@25884
|
|
|
|
|
| |
with terse macros, and the function bodies retired.
p4raw-id: //depot/perl@25883
|
|
|
| |
p4raw-id: //depot/perl@25879
|
|
|
| |
p4raw-id: //depot/perl@25878
|
|
|
| |
p4raw-id: //depot/perl@25876
|