Problems? Is your data what you think it is? | |
PerlMonks |
Re: Re: Re: a flash of inspiration...by Adam (Vicar) |
on Apr 05, 2001 at 01:51 UTC ( [id://69909]=note: print w/replies, xml ) | Need Help?? |
wellllll.... (hem, haw) That would work. I could do that. But that doubles the memory requirements, requires an additional cost of copying the table the extra time. In most cases, you would be right. But in this case, what I need is to re-read the data section. That is the specific task on hand. You see, in the real world this routine would only get called once. But I want to Benchmark it. Thus the problem. Caching DATA like that would defeat the benchmark.
In Section
Seekers of Perl Wisdom
|
|