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...
