in reply to Re^3: Moving from hashing to tie-ing.
in thread Moving from hashing to tie-ing.
Since many of your fields are not needed, they need not be included in your data structure provided you can no in advance that they won't be needed. If only 1 id is ever worked with at a time, then there is not a need to ever load more than one record in memory at a time. Alternatively, it may be possible to employ a MRU cache such that the splits are cached in arrays but only a fixed number are cached where the most recently used stay in cache and others expire.
Try to put yourself in my shoes. Read what you have written about your program, your datastructure, and your problem and see if you feel you have provided the necessary information to help. Again, we are just guessing.
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Moving from hashing to tie-ing.
by eff_i_g (Curate) on Jul 31, 2006 at 16:44 UTC | |
by Limbic~Region (Chancellor) on Aug 01, 2006 at 12:26 UTC |