Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: da662cabff89234350d8521413fb6335c34eb49c
      
https://github.com/Perl/perl5/commit/da662cabff89234350d8521413fb6335c34eb49c
  Author: Richard Leach <richardle...@users.noreply.github.com>
  Date:   2025-08-10 (Sun, 10 Aug 2025)

  Changed paths:
    M op.c

  Log Message:
  -----------
  Revert "Perl_op_convert_list - only short circuit CONST OPs with an IsCOW SV"

This reverts commit 80d3e79d3833d7ebe9723958157b6fd354612a94.

That commit was always intended as a stopgap to be replaced by
b1f270f0cbf67fc18c949626d91f0f1856747fe5.

The history behind this was as follows:
* GH#22116 - a902d92 - short-circuited constant folding on CONST OPs,
as this should be unnecessary. However, Dave Mitchell noticed that it
had the inadvertent effect of disabling COW on SVs holding UTF8 string
literals (e.g. `"\x{100}abcd"`).
* b1f270f0cbf67fc18c949626d91f0f1856747fe5 always seemed like the
best fix, but given the apparent proximity to the 5.42 release date
that commit seemed to be too big a change.
* GH#23296 brought in the now-reverted commit as a stop gap that
retained some of the older, now-unnecessary behaviour.



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

Reply via email to