in reply to Iteration speed
Describing your problem in terms that only another biochemist will understand means that most of us here will only be able to guess at what your program needs to do.
The best way to speed up iteration is to avoid iterating. Lookups are fast.
If your dataset is too large to fit in memory forcing you to re-read files, then the first pass I would make is to avoid having to re-parse the files each time. A pre-processing step that parses your files into convenient data structures and then writes these to disk in packed or Storable binary format would probably speed up the loading considerably.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Iteration speed
by jepri (Parson) on Jun 16, 2004 at 13:05 UTC | |
by BrowserUk (Patriarch) on Jun 16, 2004 at 13:23 UTC |