| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
flag bits. Right now the only flag bit is SVf_UTF8, which will call
SvUTF8_on() on the new SV for you. Provide a wrapper newSVpvn_utf8(),
which takes a boolean, and passes in SVf_UTF8 if that is true.
Refactor the core to use it where possible. It makes the source code
clearer and smaller, but seems to be swings and roundabouts on object
code size.
p4raw-id: //depot/perl@32807
|
|
|
|
|
|
| |
and regexp reference counting is via the regular SV reference counting.
This was not as easy at it looks.
p4raw-id: //depot/perl@32804
|
|
|
|
|
|
|
| |
regcomp.c and regexec.c RXp_* where necessary] so that in future we
can maintain source compatibility when we add an extra level of
dereferencing.
p4raw-id: //depot/perl@32802
|
|
|
|
|
| |
of the call to sv_chop() that throws it away.
p4raw-id: //depot/perl@32777
|
|
|
| |
p4raw-id: //depot/perl@32761
|
|
|
|
|
|
| |
the macros RX_PRECOMP() and RX_PRELEN(). This will allow us to reduce
the regexp storage overhead by computing them at retrieve time.
p4raw-id: //depot/perl@32753
|
|
|
| |
p4raw-id: //depot/perl@32751
|
|
|
|
|
| |
(Correct a comparison of $] with 5.011 in B.pm)
p4raw-id: //depot/perl@32740
|
|
|
|
|
| |
hold a reference, and convert it to a macro define prepare_SV_for_RV().
p4raw-id: //depot/perl@32737
|
|
|
|
|
| |
This frees up a scalar type for first class regular expressions.
p4raw-id: //depot/perl@32734
|
|
|
| |
p4raw-id: //depot/perl@32725
|
|
|
|
|
|
|
|
| |
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D0939A4@exchsvr2.npl.ad.local>
"IMO patch 32711 is better implemented using (the existing) NUM2PTR macro, as below/attached."
p4raw-id: //depot/perl@32720
|
|
|
| |
p4raw-id: //depot/perl@32711
|
|
|
|
|
| |
Message-ID: <20071021201351.GY29047@bort.ca>
p4raw-id: //depot/perl@32157
|
|
|
|
|
|
| |
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510710181149s1c096dd9qffa8fe42046e675b@mail.gmail.com>
p4raw-id: //depot/perl@32141
|
|
|
|
|
|
|
| |
as the length is already known. Hence conditionally compile out the
logic related to the call to strlen() from S_method_common(), and use
newSVhek in S_gv_get_super_pkg().
p4raw-id: //depot/perl@32130
|
|
|
|
|
|
| |
of op evaluation means that what had been a reference to a constant
can turn into a typeglob before the sassign gets to run.
p4raw-id: //depot/perl@31940
|
|
|
| |
p4raw-id: //depot/perl@31936
|
|
|
|
|
| |
Message-ID: <20070906184039.GG9260@bort.ca>
p4raw-id: //depot/perl@31838
|
|
|
|
|
|
| |
From: "Brandon Black" <blblack@gmail.com>
Message-ID: <84621a60708121336m13dcf9e5uac624fb246f2a79c@mail.gmail.com>
p4raw-id: //depot/perl@31770
|
|
|
|
|
| |
Message-ID: <20070629204935.GA13919@abigail.nl>
p4raw-id: //depot/perl@31508
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://www.nntp.perl.org/group/perl.perl5.porters/2007/06/msg125667.html
by reverting part of change #29354.
Unfortunately match vars after a /g match in scalar context will be
unsafe (again) after this, but such matches on long strings won't be
as diabolically slow.
Question: why does the new test in t/op/pat.t pass, but the same test
in t/op/reg_unsafe.t fail? (Latter is TODO for now)
p4raw-link: @29354 on //depot/perl: 58e23c8d7d24dd08c87b5d56819ad45527176c15
p4raw-id: //depot/perl@31451
|
|
|
| |
p4raw-id: //depot/perl@31333
|
|
|
|
|
|
| |
From: "Brandon Black" <blblack@gmail.com>
Message-ID: <84621a60704301445y37e9b05ey235210a8e5547cc1@mail.gmail.com>
p4raw-id: //depot/perl@31122
|
|
|
|
|
|
| |
From: "Brandon Black" <blblack@gmail.com>
Message-ID: <84621a60704291527y1b39be37l221ef66e4c828f66@mail.gmail.com>
p4raw-id: //depot/perl@31107
|
|
|
|
|
|
| |
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Message-ID: <51dd1af80704261922j3db0615wa86ccc4cb65b2713@mail.gmail.com>
p4raw-id: //depot/perl@31106
|
|
|
|
|
|
|
|
| |
Subject: Re: mro status, etc
From: "Brandon Black" <blblack@gmail.com>
Message-ID: <84621a60704260852y5a3dd2a5jeb633bb46cc7a8c0@mail.gmail.com>
p4raw-link: @29336 on //depot/perl: ae6d515f69537dd5e2631b15104c2c90d022fd19
p4raw-id: //depot/perl@31091
|
|
|
| |
p4raw-id: //depot/perl@31051
|
|
|
| |
p4raw-id: //depot/perl@31049
|
|
|
|
|
|
| |
From: "Brandon Black" <blblack@gmail.com>
Message-ID: <84621a60704171114k29b0460el5b08ce5185d55ed5@mail.gmail.com>
p4raw-id: //depot/perl@30980
|
|
|
| |
p4raw-id: //depot/perl@30865
|
|
|
|
|
|
| |
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Message-ID: <51dd1af80703291552y1073bcb6r954b043eb68a4459@mail.gmail.com>
p4raw-id: //depot/perl@30849
|
|
|
|
|
| |
Message-ID: <9b18b3110704031646p7ac8dbearf9e41397a5f884d8@mail.gmail.com>
p4raw-id: //depot/perl@30841
|
|
|
|
|
| |
reference".
p4raw-id: //depot/perl@30806
|
|
|
|
|
|
|
| |
Fix a form of state assignment (state($x)=$y).
Minor optimisation in pp_aassign for state variables.
New tests.
p4raw-id: //depot/perl@30772
|
|
|
|
|
|
|
|
|
|
| |
and endp with a single array of struct regexp_paren_pair, which has 2
I32 members. PL_regstartp and PL_regendp are replaced with a pointer
to regexp_paren_pair. The regexp swap structure now only has one
member, so abolish it and store the pointer to the swap array directly.
Hopefully keeping the corresponding start and end adjacent in memory
will help with cache coherency.
p4raw-id: //depot/perl@30769
|
|
|
|
|
|
| |
by adding a meaning for OPf_SPECIAL on OP_CONST.
Patch by Yves Orton.
p4raw-id: //depot/perl@30644
|
|
|
|
|
| |
moved when evaluating a tied hash in scalar context.
p4raw-id: //depot/perl@30560
|
|
|
| |
p4raw-id: //depot/perl@30433
|
|
|
|
|
|
| |
sv = newSV(0);
sv_upgrade(sv, type);
p4raw-id: //depot/perl@30347
|
|
|
|
|
|
| |
From: knew-p5p@pimb.org (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-14573-1171164736-117.41484-75-0@perl.org>
p4raw-id: //depot/perl@30211
|
|
|
|
|
| |
of flags, not a boolean, so correct the documenation and callers.
p4raw-id: //depot/perl@29977
|
|
|
|
|
|
| |
into a single routine Perl_softref2xv(). As soft references are
rarely used compared with true references, move this code from pp_hot.c
p4raw-id: //depot/perl@29905
|
|
|
| |
p4raw-id: //depot/perl@29900
|
|
|
|
|
| |
space saving to merge them. Hopefully this will reduce L2 cache misses.
p4raw-id: //depot/perl@29836
|
|
|
| |
p4raw-id: //depot/perl@29835
|
|
|
|
|
|
|
|
| |
${^POSTMATCH}
Message-ID: <9b18b3110701111731x29b1c63i57b1698f769b3bbc@mail.gmail.com>
(with tweaks)
p4raw-id: //depot/perl@29831
|
|
|
|
|
| |
allows symbolic code references with embeded NULs to work.
p4raw-id: //depot/perl@29830
|
|
|
| |
p4raw-id: //depot/perl@29696
|
|
|
|
|
|
|
|
|
| |
Subject: [PATCH] Cleanup SVf arguments (2nd try)
Message-ID: <20070101201613.4120d9ef@r2d2>
Introduce an SVfARG() macro for %SVf (%-p here) arguments to
perl's printf
p4raw-id: //depot/perl@29687
|