Problems? Is your data what you think it is? | |
PerlMonks |
Re: Faster Hash Slicesby oiskuu (Hermit) |
on Nov 29, 2013 at 00:31 UTC ( [id://1064879]=note: print w/replies, xml ) | Need Help?? |
What Tux said above.
The split + slice assign itself (times 8e6) might take 10 seconds. If you run out of memory, it can take "forever". Your hashes may easily consume > 4GB, not counting the data. Improve your data layout. Only use a hash for indexing. Keep data packed where possible. Consider using a database...
In Section
Seekers of Perl Wisdom
|
|