On Thu, Feb 12, 2026 at 10:57 AM demerphq <[email protected]> wrote:

> You sure this doesn't make while /g matches go quadratic? Lastly I checked
> /p still matters for while/g -- the COW stuff doesn't always kick in: Not
> every string can be COWed. Iirc strings returned from <>/readline aren't
> COWed.
>

I was recently made aware of another related issue: string from File::Map
can't COW[1]. And given that they can be very very large that is a serious
problem. I don't think PL_sawampersand is as useless as some people thought
it was.

Leon

1: https://rt.cpan.org/Ticket/Display.html?id=167860

Reply via email to