| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
can't be expected to know that sv_setsv() may now not "really" copy a
scalar. So arrange things so that COW of shared hash key scalars is
only done for calls within the the PERL_CORE.
p4raw-id: //depot/perl@29248
|
|
|
| |
p4raw-id: //depot/perl@29221
|
|
|
| |
p4raw-id: //depot/perl@29220
|
|
|
| |
p4raw-id: //depot/perl@29219
|
|
|
|
|
| |
no-one is trying to access it.
p4raw-id: //depot/perl@29206
|
|
|
|
|
| |
Message-ID: <20060612034434.GA21588@petdance.com>
p4raw-id: //depot/perl@28381
|
|
|
| |
p4raw-id: //depot/perl@28300
|
|
|
|
|
|
| |
Add documentation for SvREFCNT_inc_simple_void_NN().
Wrap SvREFCNT_inc_simple_void() in STMT_START/STMT_END.
p4raw-id: //depot/perl@28266
|
|
|
| |
p4raw-id: //depot/perl@28246
|
|
|
|
|
|
| |
SvVOK used to do that, in stealth mode, but now it returns a
boolean like it used to. Patch suggested by John Peacock.
p4raw-id: //depot/perl@28218
|
|
|
| |
p4raw-id: //depot/perl@28086
|
|
|
|
|
| |
same union to store the stash for our.
p4raw-id: //depot/perl@28065
|
|
|
|
|
| |
inadvertently calling magic and overloading too often.
p4raw-id: //depot/perl@28021
|
|
|
|
|
|
|
| |
signals that the buffer passed in is already well-formed for use as
SvPVX (i.e. it is followed by a trailing NUL), and hence the realloc()
to add a NUL can be skipped.
p4raw-id: //depot/perl@27841
|
|
|
|
|
| |
other two to mathoms.c
p4raw-id: //depot/perl@27840
|
|
|
|
|
| |
Message-ID: <20060331054228.GA18940@petdance.com>
p4raw-id: //depot/perl@27641
|
|
|
| |
p4raw-id: //depot/perl@27511
|
|
|
|
|
| |
have been unused since revision 1.
p4raw-id: //depot/perl@27507
|
|
|
|
|
| |
(re)?blessing of overloaded objects to work correctly.
p4raw-id: //depot/perl@27506
|
|
|
|
|
|
| |
0x10000000 (SVf_AMAGIC) to be set on all 16 SV types, which seems to
be necessary to fix subtle bugs involving reblessing and overloading.
p4raw-id: //depot/perl@27496
|
|
|
|
|
| |
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
|