Branch: refs/heads/smoke-me/khw-anyofr
  Home:   https://github.com/Perl/perl5
  Commit: 5321b9c69733b42c5c4c2b96233dadb966a28744
      
https://github.com/Perl/perl5/commit/5321b9c69733b42c5c4c2b96233dadb966a28744
  Author: Karl Williamson <[email protected]>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M Configure

  Log Message:
  -----------
  XXX Configure backtrace


  Commit: 30bd3d326f88965c46b6a4d01d23254dc9e0c416
      
https://github.com/Perl/perl5/commit/30bd3d326f88965c46b6a4d01d23254dc9e0c416
  Author: Karl Williamson <[email protected]>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M regcomp.c

  Log Message:
  -----------
  regcomp.c fix comments, white-space

One comment was just a typo, another was erroneous


  Commit: e8205b1ddb4d25acedb4a08031b89cc98da744b1
      
https://github.com/Perl/perl5/commit/e8205b1ddb4d25acedb4a08031b89cc98da744b1
  Author: Karl Williamson <[email protected]>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M embed.fnc
    M embed.h
    M proto.h
    M regcomp.c

  Log Message:
  -----------
  invlist_lowest


  Commit: c0bdabb288d0c79e544cd2c7ecedbdaad83cbf06
      
https://github.com/Perl/perl5/commit/c0bdabb288d0c79e544cd2c7ecedbdaad83cbf06
  Author: Karl Williamson <[email protected]>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M embed.fnc
    M embed.h
    M proto.h
    M regcomp.c

  Log Message:
  -----------
  find_first_differing_byte_pos


  Commit: 785ccc45d6d186126fe901200ab6b69275b0759b
      
https://github.com/Perl/perl5/commit/785ccc45d6d186126fe901200ab6b69275b0759b
  Author: Karl Williamson <[email protected]>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M regcomp.c

  Log Message:
  -----------
  regcomp.c: DTRT in av_store()

We should be increasing the ref count in the scalars.  If those aren't
needed past the end of the function doing the av_store, their ref count
can be decremented there.

Otherwise, things are inconsistent, and error prone.


  Commit: 283ac62e0833e82d90247a9f6c7a74d8cc52a260
      
https://github.com/Perl/perl5/commit/283ac62e0833e82d90247a9f6c7a74d8cc52a260
  Author: Karl Williamson <[email protected]>
  Date:   2019-11-20 (Wed, 20 Nov 2019)

  Changed paths:
    M pod/perldebguts.pod
    M regcomp.c
    M regcomp.h
    M regcomp.sym
    M regexec.c
    M regnodes.h
    M t/re/pat.t

  Log Message:
  -----------
  Add ANYOFHs regnode

This node is like ANYOFHb, but is used when more than one leading byte
is the same in all the matched code points.

ANYOFHb is used to avoid having to convert from UTF-8 to code point for
something that won't match.  It checks that the first byte in the UTF-8
encoded target is the desired one, thus ruling out most of the possible
code points.

But for higher code points that require longer UTF-8 sequences, many
many non-matching code points pass this filter.  Its almost 200K that it
is ineffective for for code points above 0xFFFF.

This commit creates a new node type that addresses this problem.
Instead of a single byte, it stores as many leading bytes that are the
same for all code points that match the class.  For many classes, that
will cut down the number of possible false positives by a huge amount
before having to convert to code point to make the final determination.

This regnode adds a UTF-8 string at the end.  It is still much smaller,
even in the rare worst case, than a plain ANYOF node because the maximum
string length, 15 bytes, is still shorter than the 32-byte bitmap that
is present in a plain ANYOF.  Most of the time the added string will
instead be at most 4 bytes.


  Commit: ccba0f20050c869c4f0391402ed8293d4487da46
      
https://github.com/Perl/perl5/commit/ccba0f20050c869c4f0391402ed8293d4487da46
  Author: Karl Williamson <[email protected]>
  Date:   2019-11-20 (Wed, 20 Nov 2019)

  Changed paths:
    M embed.fnc
    M regcomp.c

  Log Message:
  -----------
  smoke


Compare: https://github.com/Perl/perl5/compare/5321b9c69733%5E...ccba0f20050c

Reply via email to