That's not the result I get. I've run your code 10 times, and while, yes, the actual numbers varied, ref was consistently 28-34% faster than alias.
Clint
In reply to Re^2: Pass by ref vs alias : why does scalar size matter?
by clinton
in thread Pass by ref vs alias : why does scalar size matter?
by clinton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |