Branch: refs/heads/hv/join_exact
  Home:   https://github.com/Perl/perl5
  Commit: 55210dcb6e2b817a196c42db3c8c744f6646df98
      
https://github.com/Perl/perl5/commit/55210dcb6e2b817a196c42db3c8c744f6646df98
  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.

Reply via email to