Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 10910b4a25d43c670f4d7bdb5dc171da279efc85
      
https://github.com/Perl/perl5/commit/10910b4a25d43c670f4d7bdb5dc171da279efc85
  Author: Karl Williamson <k...@cpan.org>
  Date:   2024-08-19 (Mon, 19 Aug 2024)

  Changed paths:
    M lib/B/Op_private.pm
    M opcode.h
    M regen/op_private

  Log Message:
  -----------
  regen/op_private: Swap two flag bit positions

This makes two flags adjacent so that the next commit can make them into
a bitfield


  Commit: eb41bcda6274894ee8303a3a6cb2424babdad6c4
      
https://github.com/Perl/perl5/commit/eb41bcda6274894ee8303a3a6cb2424babdad6c4
  Author: Karl Williamson <k...@cpan.org>
  Date:   2024-08-19 (Mon, 19 Aug 2024)

  Changed paths:
    M doop.c
    M lib/B/Op_private.pm
    M op.c
    M opcode.h
    M regen/op_private

  Log Message:
  -----------
  op_private: Combine two bits into a bitfield

One of these two bits is a proper subset of the other, so there is no
loss of generality in making them part of essentially an enum.

This will allow the next commit to add a third possibility without
needing an extra bit (which we don't have available).


  Commit: 5e25aa6c24ba9daae8871071d4273a940c7a4714
      
https://github.com/Perl/perl5/commit/5e25aa6c24ba9daae8871071d4273a940c7a4714
  Author: Karl Williamson <k...@cpan.org>
  Date:   2024-08-19 (Mon, 19 Aug 2024)

  Changed paths:
    M doop.c
    M lib/B/Op_private.pm
    M op.c
    M opcode.h
    M regen/op_private

  Log Message:
  -----------
  Add an optimization to tr/// operating on UTF-8 strings

It is frequently the case that the operands of tr are only ASCII-range
characters, such as tr/A-Z/a-z/.

In that case, it doesn't matter if the SV they are transliterating is
encoded as UTF-8 and contains lots of non-ASCII characters.  Those don't
get touched by the tr.

That means we can treat all SVs passed to this as non-UTF-8, skipping
the more expensive code that deals with UTF-8.


Compare: https://github.com/Perl/perl5/compare/8905a602946e...5e25aa6c24ba

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to