I had tried that. And had first made the same mistake (and thus got a speed boost of around 800% :) —> the $$_[0] would need to be ${$_[0]}. With that fixed, there's virtually no difference... In other words, the string isn't copied, even without using references ($_[0] is an alias).
In reply to Re^3: elsif chain vs. dispatch
by almut
in thread elsif chain vs. dispatch
by sflitman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |