in reply to Re: fast lookups in files
in thread fast lookups in files
How many lines in your file?
18885025
Over what range are the keys and values spread?
keys from 6 to 164664533
values from 0 to 494514
How many lookups per load?
This is a stand-alone system application that does up to thousands lookups per run (although it could be called for just one lookup).This is an intermediate step in the app. The others step are well optimized for performance.
Is concurrency a requirement?
In principle, no
How often does the dataset change?
More or less, once in a month
How fast a lookup are you hoping for?
As much as I can. As I told before, the rest of the script is optimized for speed and memory usage and it is a bit frustrating to see how the others parts of the program (which seems to be much more complicated), runs very fast and these lookups are slowing down so much the overall process
Thanks,
citromatik
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: fast lookups in files
by BrowserUk (Patriarch) on Feb 05, 2008 at 14:58 UTC | |
by citromatik (Curate) on Feb 05, 2008 at 15:48 UTC | |
by BrowserUk (Patriarch) on Feb 05, 2008 at 16:52 UTC | |
by BrowserUk (Patriarch) on Feb 05, 2008 at 16:06 UTC |