in reply to Re^2: Pass by ref vs alias : why does scalar size matter?
in thread Pass by ref vs alias : why does scalar size matter?
One thing I liked to test was the influence the change of the string length by the operation has. When I changed s/\s+// to s/\s+//g the difference is again about 2% in favor of alias, otherwise it's about the same for s/\s/_/g which doesn't change the length.
|
|---|