in reply to Re^2: Accessing $a and $b of 'sort' across package boundaries
in thread Accessing $a and $b of 'sort' across package boundaries
Yes, I think there's a substantial difference in performance. Feel free to Benchmark.
Also, doing my ($first, $second) = @_; instead of referencing $_[0] and $_[1] directly adds to the cost. It doesn't give anything in return either, since the names are no more descriptive than $_[0] and $_[1].
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Accessing $a and $b of 'sort' across package boundaries
by davidrw (Prior) on Jun 06, 2005 at 19:49 UTC | |
by ikegami (Patriarch) on Jun 06, 2005 at 20:54 UTC |