Any suggestions on an easy way to move this Hash of Arrays to disk including the array data and avoid eating up RAM?
The simple way to work around the limitation of the simpler (but usually much faster) tied DBs aversion to references, is to join your arrays into single strings for storage and split them on retrieval. With a judicious use of separator, -- say $; for ascii stuff or maybe "\xfe\xff" for Unicode? -- this can be surprisingly efficient.
In reply to Re: Hash of Arrays - Pushing Array references and memory impacts question
by BrowserUk
in thread Hash of Arrays - Pushing Array references and memory impacts question
by alittlebitdifferent
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |