in reply to Ampersands and sub speed
It would surprise me if this were significant. You're not calling empty subroutines, so the time spent within the subroutines is likely more significant than the time spent calling the subroutines.
Even in those cases where the speed is significant, I wonder if, should it ever happen that you need to manipulate @_ before calling a function, the overhead of managing the array (actually the stack) dwarfs the gains of avoiding the stack manipulations.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Ampersands and sub speed
by creamygoodness (Curate) on Oct 14, 2005 at 23:01 UTC |