in reply to Re^2: Counting the number of items returned by split without using a named array
in thread Counting the number of items returned by split without using a named array
Just out of curiosity (it doesnt really matter in my case): which one would be the more (CPU- and memory-) efficient one?
It hardly ever matters. As a wild guess I would say that since the former involves doing something and then undoing it and that something is taking a reference, it is more computationally intensive. In case of doubt
use Benchmark;
I may well (and happily!) prove wrong...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Counting the number of items returned by split without using a named array
by Anonymous Monk on May 03, 2006 at 15:02 UTC | |
by blazar (Canon) on May 04, 2006 at 10:49 UTC |