Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 94ac11788355164e13b9258ce3dd595922ae303b
https://github.com/Perl/perl5/commit/94ac11788355164e13b9258ce3dd595922ae303b
Author: Hugo van der Sanden <[email protected]>
Date: 2020-01-16 (Thu, 16 Jan 2020)
Changed paths:
M regcomp.c
Log Message:
-----------
study_chunk: generate ANYOFM here rather than in join_exact()
When we detect an EXACTFish node cannot be extended by joining with others,
and is short and simple enough, we want to replace it with ANYOFM.
Prefer to do that in the study_chunk() handling of EXACTFish nodes: this
isn't part of join_exact's responsibilities (and is not documented there),
and moving it will make subsequent refactoring easier.
Note that this means it will no longer happen earlier as part of the
experimental regtail_study() call to join_exact(), currently invoked
only if perl is built with PERL_ENABLE_EXPERIMENTAL_REGEX_OPTIMISATIONS.