XP is just a number | |
PerlMonks |
Re: Fast seeking in a large array of hashes to generate a report.by Tanalis (Curate) |
on Jun 23, 2005 at 07:20 UTC ( [id://469307]=note: print w/replies, xml ) | Need Help?? |
If you're populating the dataset from a database, then restricting that dataset from a config file, why not simply generate some SQL to restrict the dataset you're downloading from the DB in the first place?
The database can almost certainly perform this search-and-restrict quicker server-side than you can by downloading all data and then restricting what you display. -- Foxcub
In Section
Seekers of Perl Wisdom
|
|