Re: [Perl/perl5] 502da7: make /p a no-op

[email protected] (Richard Leach) Thu, 12 Feb 2026 22:41:19 +0000
Newsgroups perl.perl5.changes,perl.perl5.porters
Message-ID <CADWSe2dsAcfX2_pG8RSzn_W2Qk-gipN1yn+V2tTOWPxk2Edu4Q@mail.gmail.com>
On Thu, 12 Feb 2026 at 19:56, Leon Timmermans <[email protected]> wrote:
> 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.

It would involve uncomfortable chumminess with core internals, but
could the problem with File::Map be solved if the mapped file was
exposed as a (SVf_IsCOW|SVppv_STATIC) type of COW?

No idea if the regex engine can operate on those though...