This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Convert more EXACTFish nodes to EXACT when possible
authorKarl Williamson <public@khwilliamson.com>
Sat, 15 Feb 2014 21:45:03 +0000 (14:45 -0700)
committerKarl Williamson <public@khwilliamson.com>
Wed, 19 Feb 2014 15:32:59 +0000 (08:32 -0700)
commit0ba8faef1d393a5e5eec58121e95c78331a76dda
tree5a99cabc67c0ca8855d474227f2564967ea405c3
parent8a50cd03a18f63853c30d77231f3eed37cdf7efa
Convert more EXACTFish nodes to EXACT when possible

Under /i matching, many characters match only themselves, such a
punctuation.  If a node contains only such characters it can be an EXACT
node.  The optimizer gets better hints when dealing with EXACT nodes
than ones with folding.

This changes the alloc_maybe_populate() function to look for
possibilities of non-folding input.
embed.fnc
embed.h
proto.h
regcomp.c