Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 7fb635f95f08105b5e84dcec3eab228b4a9dee5c
      
https://github.com/Perl/perl5/commit/7fb635f95f08105b5e84dcec3eab228b4a9dee5c
  Author: Alin Iacob <[email protected]>
  Date:   2026-10-11 (Sun, 11 Oct 2026)

  Changed paths:
    M sv.c
    M t/op/index.t
    M t/perf/speed.t

  Log Message:
  -----------
  sv.c: restore UTF-8 offset caching

The midway paths left canonical_position false, so substr() wasn't
updating the UTF-8 position cache.

Set at_end for the end position so it only updates the length cache.
Check for out-of-range offsets before calculating the backward
distance.

Based on a patch by kaz-utashiro.

Fixes #24531


  Commit: e6834caf9cf0c26e07700bca66b206456922b1fa
      
https://github.com/Perl/perl5/commit/e6834caf9cf0c26e07700bca66b206456922b1fa
  Author: Alin Iacob <[email protected]>
  Date:   2026-10-11 (Sun, 11 Oct 2026)

  Changed paths:
    M pod/perldelta.pod

  Log Message:
  -----------
  perldelta for UTF-8 substr caching fix


Compare: https://github.com/Perl/perl5/compare/d9a746129777...e6834caf9cf0

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

Reply via email to