in reply to Re^2: elsif chain vs. dispatch
in thread elsif chain vs. dispatch
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: elsif chain vs. dispatch
by ruzam (Curate) on Apr 27, 2009 at 03:39 UTC |