Think about Loose Coupling | |
PerlMonks |
Re: /o is dead, long live qr//!by Abigail-II (Bishop) |
on Jun 26, 2003 at 01:25 UTC ( [id://269073]=note: print w/replies, xml ) | Need Help?? |
I know how the qr stringifies, and that's exactly the problem.
However, when qr was introduced (which was long after perl5
as suggested elsewhere in this thread, I think it was 5.005)
it was suggested that qr would be faster when interpolating.
Even if you change the middle part of the benchmark to
$x = qq "$x" and $x = qr "$x",
the qq is three times as fast as the qr.
I've had programs come to a grinding halt after using qr too liberaly. Abigail
In Section
Meditations
|
|