Nicholas Clark [Sat, 7 Oct 2006 23:42:56 +0000]
Yves said that the XS version of Data::Dumper was inefficient because
it keeps triggering realloc() due to sv_cat(). Here's a rather brute
force approach to pre-stretching the buffer - if there are less than
40 bytes free, grow it by 50%.
Surprisingly effective for my test program
./perl -Ilib -MData::Dumper -MStorable=retrieve -we \
'print Dumper(retrieve(shift))' ~/.cpan/Metadata >/dev/null
Before
real 2m42.921s
user 1m43.321s
sys 0m55.611s
After
real 0m5.205s
user 0m4.885s
sys 0m0.255s
Same 25M of output, byte for byte. :-)
p4raw-id: //depot/perl@28963
Nicholas Clark [Sat, 7 Oct 2006 22:24:28 +0000]
No need to create a new magic vtable if it's all 0 pointers.
[And these are function pointers, so they're not NULL :-)]
p4raw-id: //depot/perl@28962
Nicholas Clark [Sat, 7 Oct 2006 22:06:19 +0000]
Make reference stringification (blessed and unblessed) about as fast as
is possible, because I'm told it's used quite frequently.
p4raw-id: //depot/perl@28961
Nicholas Clark [Sat, 7 Oct 2006 17:16:01 +0000]
Use packed addresses for the seen tracking hash, rather than
"stringified" references. These use less memory, and should be faster
as there is no call to sprintf().
p4raw-id: //depot/perl@28960
Nicholas Clark [Sat, 7 Oct 2006 16:08:04 +0000]
Eliminate two more unneeded strlen()s from Dumper.xs
p4raw-id: //depot/perl@28959
Jerry Hedden [Fri, 6 Oct 2006 12:19:41 +0000]
threads 1.43 - stringify
Message-ID: <
20061006191941.22457.qmail@web30205.mail.mud.yahoo.com>
p4raw-id: //depot/perl@28958
Yves Orton [Fri, 6 Oct 2006 19:16:01 +0000]
Re: [PATCH] Initial attempt at named captures for perls regexp engine
Message-ID: <
9b18b3110610061016x5ddce965u30d9a821f632d450@mail.gmail.com>
p4raw-id: //depot/perl@28957
Nicholas Clark [Sat, 7 Oct 2006 13:53:36 +0000]
Change sprintf() to my_sprintf(), and use the returned length from
that and my_snprintf() to avoid calls to strlen()
p4raw-id: //depot/perl@28956
Jarkko Hietaniemi [Sat, 7 Oct 2006 13:37:04 +0000]
cflags.SH: strip -std=c89 for g++
Message-ID: <
45278350.8020707@iki.fi>
p4raw-id: //depot/perl@28955
Paul Marquess [Fri, 6 Oct 2006 11:14:03 +0000]
another g++ patch (Util.xs)
From: "Paul Marquess" <paul.marquess@ntlworld.com>
Message-ID: <
00ea01c6e930$269f3d70$4e3c140a@myopwv.com>
p4raw-id: //depot/perl@28954
Steve Peters [Sat, 7 Oct 2006 01:34:15 +0000]
Upgrade to Test-Harness-2.64
p4raw-id: //depot/perl@28953
Nicholas Clark [Fri, 6 Oct 2006 21:56:46 +0000]
Make the executable slightly smaller by using PL_hexdigit in
Perl_sv_vcatpvfn.
p4raw-id: //depot/perl@28952
Nicholas Clark [Fri, 6 Oct 2006 21:27:13 +0000]
Fix typo spotted by Rafael. Close the file handle explicity and check
for errors. Add overload.pl to regen.pl
p4raw-id: //depot/perl@28951
Nicholas Clark [Fri, 6 Oct 2006 21:19:26 +0000]
Generate the overload enum and names array programatically, which
allows experimentation with the order. The new order shaves nearly
900 bytes from gv.o, because the compiler can make smaller branch
tables for switch statements.
p4raw-id: //depot/perl@28950
Nicholas Clark [Fri, 6 Oct 2006 21:01:00 +0000]
Reoder struct am_table and am_table_short to save 8 bytes on LP64
systems, by placing the two U32 fields next to each other.
p4raw-id: //depot/perl@28949
Steve Peters [Fri, 6 Oct 2006 20:02:48 +0000]
Upgrade to PathTools-3.21
p4raw-id: //depot/perl@28948
Nicholas Clark [Fri, 6 Oct 2006 18:05:45 +0000]
Don't bother generating the "Operation \"%s\": no method found..."
message text if we're not going to use it.
p4raw-id: //depot/perl@28947
Dave Mitchell [Thu, 5 Oct 2006 18:16:19 +0000]
Document the new regmatch() backtracking mechanism
p4raw-id: //depot/perl@28946
Dave Mitchell [Thu, 5 Oct 2006 16:05:57 +0000]
remove REGMATCH detritus and shrink the size of the backtrack structure
p4raw-id: //depot/perl@28945
Dave Mitchell [Thu, 5 Oct 2006 14:00:38 +0000]
migrate CURLYX/WHILEM branch in regmatch() to new FSM-esque paradigm
p4raw-id: //depot/perl@28944
Yves Orton [Wed, 4 Oct 2006 19:08:47 +0000]
Re: [perl #8835] fairly large regex optimization bug with 5.7.3
Message-ID: <
9b18b3110610041008v2bd63d14g9294f93804122dec@mail.gmail.com>
p4raw-id: //depot/perl@28943
Rafael Garcia-Suarez [Thu, 5 Oct 2006 12:23:24 +0000]
Nit in regcomp, discovered by a gcc warning, fixed by Yves
p4raw-id: //depot/perl@28942
Rafael Garcia-Suarez [Thu, 5 Oct 2006 12:20:28 +0000]
Fix a couple of casting warnings
p4raw-id: //depot/perl@28941
Steve Peters [Thu, 5 Oct 2006 11:30:56 +0000]
Fix a few pod nits in perlre.
p4raw-id: //depot/perl@28940
Yves Orton [Wed, 4 Oct 2006 15:45:15 +0000]
Re: [PATCH] Add recursive regexes similar to PCRE
Date: Wed, 4 Oct 2006 15:45:15 +0200
Message-ID: <
9b18b3110610040645s563220a2id6f235494b497e90@mail.gmail.com>
Subject: Re: [PATCH] Add recursive regexes similar to PCRE
From: demerphq <demerphq@gmail.com>
Date: Wed, 4 Oct 2006 21:05:10 +0200
Message-ID: <
9b18b3110610041205m2660eb43m1315cf4b0653db96@mail.gmail.com>
p4raw-id: //depot/perl@28939
Rafael Garcia-Suarez [Thu, 5 Oct 2006 08:43:25 +0000]
Upgrade to Module::CoreList 2.09:
- make the dependency on version.pm optional
- improve doc of corelist(1)
p4raw-id: //depot/perl@28938
Rafael Garcia-Suarez [Thu, 5 Oct 2006 08:00:57 +0000]
Change md5sum of MD5.xs after change 28936 (on UNIX, might
need adjustments on other platforms)
p4raw-id: //depot/perl@28937
Steve Peters [Wed, 4 Oct 2006 19:56:13 +0000]
Change to sv_reftype return value caused compile for Digest::MD5
with g++ to fail.
p4raw-id: //depot/perl@28936
Paul Marquess [Wed, 4 Oct 2006 17:14:05 +0000]
Give zlib the ASNI C treatmant
From: "Paul Marquess" <paul.marquess@ntlworld.com>
Message-ID: <
018901c6e7d0$1f06c8f0$7565140a@myopwv.com>
p4raw-id: //depot/perl@28935
Steve Peters [Wed, 4 Oct 2006 18:45:37 +0000]
Fixes to compile Perl with g++ and DEBUGGING.
p4raw-id: //depot/perl@28934
Paul Green [Tue, 3 Oct 2006 17:40:03 +0000]
Update Stratus VOS files.
From: "Green, Paul" <Paul.Green@stratus.com>
Message-ID: <
F5F42E77A43DD944B6D664B00A5401CB022CA121@EXNA.corp.stratus.com>
p4raw-id: //depot/perl@28933
Rafael Garcia-Suarez [Tue, 3 Oct 2006 16:39:58 +0000]
Text::Soundex is now dual-lived.
p4raw-id: //depot/perl@28932
Jerry Hedden [Tue, 3 Oct 2006 07:49:37 +0000]
threads-shared 1.03 - Changes, Makefile.PL
Message-ID: <
20061003144937.58522.qmail@web30202.mail.mud.yahoo.com>
p4raw-id: //depot/perl@28931
Steve Peters [Tue, 3 Oct 2006 15:36:55 +0000]
Upgrade to CGI.pm-3.25
p4raw-id: //depot/perl@28930
Steve Peters [Tue, 3 Oct 2006 15:08:35 +0000]
Quiet warnings in new test for ExtUtils::Command.
p4raw-id: //depot/perl@28929
Mark Stosberg [Mon, 25 Sep 2006 15:53:44 +0000]
PATCH: clarify docs for lib.pm
Message-ID: <
20060925195512.27418.qmail@lists.develooper.com>
(further modified by Merijn)
p4raw-id: //depot/perl@28928
Steve Peters [Tue, 3 Oct 2006 14:52:45 +0000]
Move Text::Soundex from lib/ to ext/ and upgrade it to
Text-Soundex-3.02.
p4raw-id: //depot/perl@28927
Jim Cromie [Fri, 29 Sep 2006 12:38:56 +0000]
[patch] convert spare debug flag to DEBUG_U, for Unofficial, User hacking.
Message-ID: <
451D6840.3020408@gmail.com>
p4raw-id: //depot/perl@28926
Rafael Garcia-Suarez [Tue, 3 Oct 2006 14:29:48 +0000]
Un-TODO some B tests
p4raw-id: //depot/perl@28925
Steve Peters [Tue, 3 Oct 2006 13:51:30 +0000]
Upgrade to version-0.6701
p4raw-id: //depot/perl@28924
Steve Peters [Tue, 3 Oct 2006 13:46:26 +0000]
Upgrade to threads-shared-1.03
p4raw-id: //depot/perl@28923
Steve Peters [Tue, 3 Oct 2006 13:28:30 +0000]
Upgrade to threads-1.42
p4raw-id: //depot/perl@28922
Steve Peters [Tue, 3 Oct 2006 13:19:48 +0000]
Upgrade to ExtUtils-Manifest-1.48
p4raw-id: //depot/perl@28921
Steve Peters [Tue, 3 Oct 2006 13:13:53 +0000]
Upgrade to CPAN-1.88_52
p4raw-id: //depot/perl@28920
Steve Peters [Tue, 3 Oct 2006 13:08:35 +0000]
Upgrade to Time-HiRes-1.91
p4raw-id: //depot/perl@28919
Steve Peters [Tue, 3 Oct 2006 13:06:06 +0000]
Update to ExtUtils-Command-1.11
p4raw-id: //depot/perl@28918
dgay@acm.org [Thu, 28 Sep 2006 17:30:37 +0000]
[perl #40427] Segfault in pack
From: dgay@acm.org (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.5.HEAD-31259-
1159489837-428.40427-75-0@perl.org>
p4raw-id: //depot/perl@28917
Rafael Garcia-Suarez [Tue, 3 Oct 2006 07:51:03 +0000]
Regenerate proto.h
p4raw-id: //depot/perl@28916
Jarkko Hietaniemi [Tue, 3 Oct 2006 08:05:24 +0000]
const sv_reftype
Message-ID: <
4521EF94.5080602@iki.fi>
p4raw-id: //depot/perl@28915
Jarkko Hietaniemi [Mon, 2 Oct 2006 13:04:14 +0000]
Re: [PATCH] cflags.SH: rethink of the gcc -std=c89 and -pedantic
Message-ID: <
4520E41E.8040300@iki.fi>
p4raw-id: //depot/perl@28914
H.Merijn Brand [Mon, 2 Oct 2006 11:10:21 +0000]
doc typo change on jhi's request
p4raw-id: //depot/perl@28913
Jarkko Hietaniemi [Mon, 2 Oct 2006 12:58:18 +0000]
perldiag.pod: followup on the PerlIO::scalar patch
Message-ID: <
4520E2BA.1000309@iki.fi>
p4raw-id: //depot/perl@28912
Nicholas Clark [Sun, 1 Oct 2006 20:22:02 +0000]
In PerlIO_debug(), if tainting or set*id, set PL_perlio_debug_fd to -1
first time through to reduce the checks on subsequent calls.
p4raw-id: //depot/perl@28911
Nicholas Clark [Sun, 1 Oct 2006 19:29:50 +0000]
In pp_binmode, call mode_from_discipline() once and remember the result.
p4raw-id: //depot/perl@28910
Andreas König [Sat, 30 Sep 2006 13:44:02 +0000]
[PAUSE] CPAN Upload: A/AN/ANDK/CPAN-1.88_51.tar.gz
Message-ID: <87ejttmvel.fsf@k75.linux.bogus>
p4raw-id: //depot/perl@28909
Dave Mitchell [Sat, 30 Sep 2006 11:31:14 +0000]
remove backing up outercc->cur in regmatch()/WHILEM
p4raw-id: //depot/perl@28908
Dave Mitchell [Sat, 30 Sep 2006 00:29:10 +0000]
assert that backing up outercc->cur in regmatch()/WHILEM is not needed
p4raw-id: //depot/perl@28907
Dave Mitchell [Sat, 30 Sep 2006 00:22:20 +0000]
add stress test for CURLYX/WHILEM regex ops
p4raw-id: //depot/perl@28906
Dave Mitchell [Sat, 30 Sep 2006 00:07:49 +0000]
rationalise sayYES and sayNO code in regmatch()
p4raw-id: //depot/perl@28905
Yves Orton [Fri, 29 Sep 2006 17:39:16 +0000]
Minor re 'Debug' tweaks, also fix a bug in dumping certain patterns.
Message-ID: <
9b18b3110609290839i58fa703u59259e4ec1d9f2d9@mail.gmail.com>
p4raw-id: //depot/perl@28904
Jarkko Hietaniemi [Fri, 29 Sep 2006 17:41:28 +0000]
PerlIO::scalar (aka open(my $fh, >\$foo)): zero-filling seekand don't talk to negative strangers
Message-ID: <
451D3098.1000305@iki.fi>
p4raw-id: //depot/perl@28903
Yves Orton [Fri, 29 Sep 2006 16:57:07 +0000]
Re: [PATCH] Add hook for re_dup() into regex engine as reg_dupe (make re pluggable under threads)
Message-ID: <
9b18b3110609290757n62b3484i7bb948f965524191@mail.gmail.com>
p4raw-id: //depot/perl@28902
Steve Peters [Fri, 29 Sep 2006 13:55:55 +0000]
Fix debug format in regcomp.c that was failing under
-Doptimize="-g"
p4raw-id: //depot/perl@28901
Yves Orton [Fri, 29 Sep 2006 12:41:26 +0000]
Re: [PATCH] Add hook for re_dup() into regex engine as reg_dupe (make re pluggable under threads)
Message-ID: <
9b18b3110609290341p11767110sec20a6fee2038a00@mail.gmail.com>
p4raw-id: //depot/perl@28900
Nicholas Clark [Thu, 28 Sep 2006 22:15:57 +0000]
Silence two warnings from gcc when being -pedantic
p4raw-id: //depot/perl@28899
Jarkko Hietaniemi [Thu, 28 Sep 2006 14:15:45 +0000]
Re: reentr reshuffle
Message-ID: <
451BAEE1.1070509@iki.fi>
p4raw-id: //depot/perl@28898
H.Merijn Brand [Thu, 28 Sep 2006 10:36:00 +0000]
Regen for #28896
p4raw-id: //depot/perl@28897
Jarkko Hietaniemi [Thu, 28 Sep 2006 12:40:04 +0000]
reentr reshuffle
Message-ID: <
451B9874.7060000@iki.fi>
p4raw-id: //depot/perl@28896
Rafael Garcia-Suarez [Wed, 27 Sep 2006 08:45:02 +0000]
Saddest patch I ever had to apply.
p4raw-id: //depot/perl@28895
Steve Hay [Wed, 27 Sep 2006 08:37:23 +0000]
I think we need to skip PL_regdupe as well as Perl_regdupe
when USE_ITHREADS is not defined
See: http://www.nntp.perl.org/group/perl.daily-build.reports/41274
p4raw-id: //depot/perl@28894
Nicholas Clark [Tue, 26 Sep 2006 22:29:09 +0000]
Make Perl_regdupe only exist for threaded perls.
p4raw-id: //depot/perl@28893
Yves Orton [Mon, 25 Sep 2006 20:09:07 +0000]
Automate generation of the regmatch() state constants
Subject: Re: Problem with EVAL handling in bleads iterative regex code.
Message-Id: <
9b18b3110609251109t4cb1d443y87d7a7dc94fcfc24@mail.gmail.com>
p4raw-id: //depot/perl@28892
Yves Orton [Sun, 17 Sep 2006 14:57:57 +0000]
Add hook for re_dup() into regex engine as reg_dupe (make re
Message-ID: <
9b18b3110609170557r73d94c18v90285bd57a38b876@mail.gmail.com>
Date: Sun, 17 Sep 2006 14:57:57 +0200
p4raw-id: //depot/perl@28891
Rafael Garcia-Suarez [Mon, 25 Sep 2006 13:28:24 +0000]
Remove three X<...> that cannot be handled by pod2text currently
(spotted by David Landgren)
p4raw-id: //depot/perl@28890
David Landgren [Mon, 25 Sep 2006 15:03:33 +0000]
perlref clarification (was: Re: Is this a bug or a feature?)
Message-ID: <
4517D3A5.4010200@landgren.net>
p4raw-id: //depot/perl@28889
Yves Orton [Mon, 25 Sep 2006 11:37:36 +0000]
Fix re debug formatting nits
Message-ID: <
9b18b3110609250237h4dcf1784s487f1979b2b431b9@mail.gmail.com>
Subject: Re: Problem with EVAL handling in bleads iterative regex code.
p4raw-id: //depot/perl@28888
Rafael Garcia-Suarez [Mon, 25 Sep 2006 08:31:37 +0000]
Typo fix in overload docs
p4raw-id: //depot/perl@28887
Jarkko Hietaniemi [Mon, 25 Sep 2006 07:35:48 +0000]
Re: Change 28877: [PATCH] deal with some gcc warnings
Message-ID: <
45175CA4.3020900@iki.fi>
remove casts that were causing failure on FreeBSD -Duse64bitint, and
some other cleanups.
p4raw-id: //depot/perl@28886
Dave Mitchell [Mon, 25 Sep 2006 01:23:31 +0000]
eliminate PL_regindent and improve -Mre=Debug,STATE output
p4raw-id: //depot/perl@28885
Dave Mitchell [Sun, 24 Sep 2006 22:31:59 +0000]
fix regression introduced in #27778: must backtrack into inner regex
"aa" =~ /(??{"a+"})a/
p4raw-id: //depot/perl@28884
Dave Mitchell [Sun, 24 Sep 2006 22:03:05 +0000]
in S_regmatch(), convert state var st->cc into local var cur_curlyx
p4raw-id: //depot/perl@28883
Dave Mitchell [Sun, 24 Sep 2006 21:23:28 +0000]
allow fields in re_tests to include \x{nnn} etc
p4raw-id: //depot/perl@28882
Steve Peters [Sat, 23 Sep 2006 16:58:17 +0000]
Upgrade to CPAN-1.8801.
p4raw-id: //depot/perl@28881
Rafael Garcia-Suarez [Thu, 21 Sep 2006 15:08:54 +0000]
Document the values that mad_key can hold
(by Larry)
p4raw-id: //depot/perl@28880
Jan Dubois [Thu, 6 Apr 2006 18:37:21 +0000]
RE: Combining UTF-16 output with :crlf is awkward
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <
0bbe01c659e3$d0c334a0$2217a8c0@candy>
p4raw-id: //depot/perl@28879
SADAHIRO Tomoyuki [Thu, 21 Sep 2006 20:47:02 +0000]
Re: \N{...} in regular expression [PATCH]
Message-Id: <
20060921204520.80A6.BQW10602@nifty.com>
p4raw-id: //depot/perl@28878
Jarkko Hietaniemi [Thu, 21 Sep 2006 09:08:47 +0000]
deal with some gcc warnings
Message-ID: <
45122C6F.9080904@iki.fi>
p4raw-id: //depot/perl@28877
ammon@rhythm.com [Tue, 19 Sep 2006 20:56:32 +0000]
[perl #40369] File::Find mishandles non-dangling symlinks
From: ammon@rhythm.com (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.5.HEAD-31258-
1158724592-1714.40369-75-0@perl.org>
p4raw-id: //depot/perl@28876
Rafael Garcia-Suarez [Fri, 8 Sep 2006 17:43:41 +0000]
Deliver SIGILL, SIGBUS and SIGSEGV always in an "unsafe" manner.
Subject: Safe signals and SIGSEGV
Message-ID: <
20060908174341.0cc7988f@grubert.mandriva.com>
p4raw-id: //depot/perl@28875
Rafael Garcia-Suarez [Wed, 20 Sep 2006 15:22:22 +0000]
prototype() wasn't working to get the prototype of optional core
keywords (like say, err, given.) Fix this by adding a parameter to
Perl_keyword to always get the keyword number, even if the feature
isn't in effect.
p4raw-id: //depot/perl@28874
Andrew Savige [Tue, 19 Sep 2006 23:42:31 +0000]
Re: [PATCH] Patch for win32.c to fix #38723 and #39531
Message-ID: <
20060919134231.87370.qmail@web56407.mail.re3.yahoo.com>
p4raw-id: //depot/perl@28873
Yves Orton [Tue, 19 Sep 2006 20:36:17 +0000]
Re: \N{...} in regular expression [PATCH]
Message-ID: <
9b18b3110609191136v4d595f37pa0a52b8c20851588@mail.gmail.com>
p4raw-id: //depot/perl@28872
Rafael Garcia-Suarez [Tue, 19 Sep 2006 14:05:48 +0000]
Upgrade to podlators 2.0.5
p4raw-id: //depot/perl@28871
H.Merijn Brand [Tue, 19 Sep 2006 11:16:11 +0000]
Changed +DA2.0w to +DD64; Added notes about C ANSI C updates
on HP-UX 11.00.
p4raw-id: //depot/perl@28870
Adriano Ferreira [Mon, 18 Sep 2006 17:36:50 +0000]
Re: [PATCH] lib/File/Copy.t - test descriptions and minor fixes
From: "Adriano Ferreira" <a.r.ferreira@gmail.com>
Message-ID: <
73ddeb6c0609181336g53a90dceo9a29777f7686e372@mail.gmail.com>
p4raw-id: //depot/perl@28869
Yves Orton [Tue, 19 Sep 2006 01:37:19 +0000]
Re: \N{...} in regular expression [PATCH]
Message-ID: <
9b18b3110609181637m796d6c16o1b2741edc5f09eb2@mail.gmail.com>
p4raw-id: //depot/perl@28868
Jarkko Hietaniemi [Tue, 19 Sep 2006 09:19:22 +0000]
C++: add -Wno-used-parameter, and drop ODBM_File
Message-ID: <
450F8BEA.1010802@iki.fi>
p4raw-id: //depot/perl@28867
Sebastian Steinlechner [Mon, 18 Sep 2006 01:38:31 +0000]
Fix declaration-after-statement problem
Subject: [bug] IO::Socket's IO.xs fails to compile
Message-ID: <
450DDC77.2060405@gmx.net>
p4raw-id: //depot/perl@28866
Philip M. Gollucci [Mon, 18 Sep 2006 01:30:05 +0000]
bleed - silence warning in sv.c
From: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Message-ID: <
450E590D.1060205@p6m7g8.com>
p4raw-id: //depot/perl@28865
John Peacock [Sun, 17 Sep 2006 16:58:58 +0000]
Re: [perl #37714] XSUB.h version check may fail due to locale
Message-ID: <
450DB712.4040703@rowman.com>
p4raw-id: //depot/perl@28864