Perl makes a copy if there is capturing or PL_saw_ampersand is true. I think you said that perl makes that copy immediately on partial success or similar. I responded saying that I think perl waits until the match has succeeded to make the copy. I don't think what I just said contradicts tye at all especially as tye is also right.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re^5: An optimization of last resort: eliminate capturing from your regexps
by diotalevi
in thread An optimization of last resort: eliminate capturing from your regexps
by diotalevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |