in reply to performance of huge array looping
Given that you're only looking at each item once, it would make more sense to either process the data line-by-line from a text file (if it's that kind of data), or iterate over it record-by-record from a database using DBI.
You program will run MUCH faster, as a bonus, since you're not going to be swapping. This is definitely a case where loading things in memory won't be an optimization.
--
Mike
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: performance of huge array looping
by kommesel (Sexton) on Aug 15, 2002 at 08:26 UTC | |
by RMGir (Prior) on Aug 15, 2002 at 10:40 UTC |