eff_i_g,
You really haven't said anything at all about how the program works or how it decides what data it needs and when.
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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.