In perl.git, the branch smoke-me/khw-regcomp has been created
<http://perl5.git.perl.org/perl.git/commitdiff/65ad83baf0cb08871244ac688bd03c745119f6a8?hp=0000000000000000000000000000000000000000>
at 65ad83baf0cb08871244ac688bd03c745119f6a8 (commit)
- Log -----------------------------------------------------------------
commit 65ad83baf0cb08871244ac688bd03c745119f6a8
Author: Karl Williamson <[email protected]>
Date: Tue Feb 23 14:04:19 2016 -0700
Use less memory in compiling regexes
This is at least a partial patch for [perl #127392], cutting the maximum
memory used on my box from around 8600kB to 7800kB. For [perl #127568],
which has been merged into #127392, the savings are even larger, about
37%
Previously a large number of large mortal SVs could be created while
compiling a single regex pattern, and their accumulated memory quickly
added up. This changes things to not use so many mortals.
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit e0206a32203378d4b15b893c3e60fa9cff76a8dd
Author: Karl Williamson <[email protected]>
Date: Tue Feb 23 14:00:23 2016 -0700
regcomp.c: Guard against corrupting inversion list SV
I don't know of any cases where this happens, but in working on the next
commit I triggered a problem with shrinking an inversion list so much
that the required 0 UV at the beginning was freed.
M embed.fnc
M proto.h
M regcomp.c
commit adcd68b4b8e2da960b3e8dac91e29c1fe59c4d09
Author: Karl Williamson <[email protected]>
Date: Mon Feb 15 11:25:35 2016 -0700
XXX need tests, comments Fix /\p{User-defined}/i
M regcomp.c
M t/re/pat_advanced.t
commit 177a65d1a5773d9c91b6614a8fca6e5f96dfeeb7
Author: Karl Williamson <[email protected]>
Date: Wed Feb 10 14:29:15 2016 -0700
XXX partial don't push regex: Add ASCII/NASCII regnodes
These are a little more efficient than using the POSIXA(:ascii:)
mechanism.
M pod/perldebguts.pod
M regcomp.sym
M regexec.c
M regnodes.h
commit 7d1d3a94a736beabf544af41663ae0417d115a8d
Author: Karl Williamson <[email protected]>
Date: Wed Feb 3 13:41:11 2016 -0700
constant.pm lower memory use
M dist/constant/lib/constant.pm
-----------------------------------------------------------------------
--
Perl5 Master Repository