"be consistent" | |
PerlMonks |
Re^2: mmaping a large fileby grondilu (Friar) |
on Aug 24, 2012 at 00:10 UTC ( [id://989414]=note: print w/replies, xml ) | Need Help?? |
« If you have a large dataset in a file: and a) only need access to small bits of it in any given run; b) you can find those bits without reading through the whole file from the beginning; then mapping can be an effective way on minimising the number of pages read from disk. »
yes, that's exactly the use case. I've just tried:
but now I get an error during cleaning: (in cleanup) munmap failed! errno 22 Invalid argument This is not going to be easy, is it?
In Section
Seekers of Perl Wisdom
|
|