Hello,
Is there any interface to mmap(2) available? Something that behaves like
an immutable array would be great.
An mmap may have a signature like
mmap :: Ix a, ?? b => Handle -> IO (Array a b)
I've no idea what types should be allowed for b. It has to be some fixed
size type, e.g. Int, but this would require the mmapped file's size to be
a multiple of the size of Ints.
Bye,
Kili
- RE: Wanted: mmap or other fast IO Matthias Kilian
- RE: Wanted: mmap or other fast IO Simon Marlow
- Re: Wanted: mmap or other fast IO Fergus Henderson
- Re: Wanted: mmap or other fast IO Sven Panne
- Re: Wanted: mmap or other fast IO Manuel M. T. Chakravarty
- RE: Wanted: mmap or other fast IO Sigbjorn Finne
- RE: Wanted: mmap or other fast IO Simon Marlow
