in reply to Re: Use of undef slowing down perl?
in thread Use of undef slowing down perl?
Benchmark isn't useful here. We don't have two snippets here. Benchmark finds the average of mulitple runs of different code. We want the times of two runs of the same code.
The problem at hand is not a comparison of perfomance of two snippets. The problem at hand is a slowdown (presumably related to virtual-memory) on the second run, even though the second run should be reusing the memory of the first run.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Use of undef slowing down perl?
by diotalevi (Canon) on Oct 12, 2005 at 17:39 UTC | |
by ikegami (Patriarch) on Oct 12, 2005 at 17:53 UTC |