In perl.git, the branch smoke-me/khw-regcomp has been created
<http://perl5.git.perl.org/perl.git/commitdiff/0bd938d66802cd0c840553ebee68472206e58988?hp=0000000000000000000000000000000000000000>
at 0bd938d66802cd0c840553ebee68472206e58988 (commit)
- Log -----------------------------------------------------------------
commit 0bd938d66802cd0c840553ebee68472206e58988
Author: Karl Williamson <[email protected]>
Date: Tue Jul 5 19:32:19 2016 -0600
regcomp.c: Change a few calls to add_range_to_invlist()
Now that that function is more efficient, some current calls to
append_range_to_invlist() can be expressed as adds slightly more
clearly.
M regcomp.c
commit 942eb1f4d80abcaa267ad28ceefd39d6b4a501e1
Author: Karl Williamson <[email protected]>
Date: Mon Jun 27 17:11:35 2016 -0600
regcomp.c: Reimplement add_range_to_invlist()
Previously, this function was essentially implemented by turning the new
range into an inversion list and then unioning that with the existing
inversion list. This was easy to write, but expensive in terms of
operations, with memory allocations and copies, etc.
After discussing this with Tony Cook, I have reimplemented this. Only
in one uncommonly encountered case does it resort to using the union,
because that case is somewhat tricky, and there is no need to have to
know that trickiness in yet another place given its rarity.
Otherwise, the function manipulates the inversion list. Some cases are
no-ops, some just change a single array element, some move things within
the array, extending or splicing it. But these are cheaper than the
previous implementation.
M embed.fnc
M proto.h
M regcomp.c
commit bfe6c1a62c19b106304bfef17bc24dcc60e672a6
Author: Karl Williamson <[email protected]>
Date: Tue Jul 5 19:41:30 2016 -0600
regcomp.c: White-space only
This indents code and reflows the comments to account for the enclosing
block added by the previous commit.
M regcomp.c
commit 280b5adc3fe44e8fce71152c9cffb929abf8569f
Author: Karl Williamson <[email protected]>
Date: Tue Jul 5 19:37:46 2016 -0600
XXX anyof.t regcomp.c
Previously when dumping under -Dr the compiled ANYOF node, it could say
something like \x1B-\x1B. A single element range should be dumped as a
single element.
M regcomp.c
commit b5d961c4b670b83430e2bc365ea87d21dd076780
Author: Karl Williamson <[email protected]>
Date: Tue Jul 5 19:23:59 2016 -0600
XXX SSize_t instead of IV
M embed.fnc
M proto.h
M regcomp.c
-----------------------------------------------------------------------
--
Perl5 Master Repository