|
Boost : |
From: Jeff Garland (jeff_at_[hidden])
Date: 2004-03-01 22:24:31
On Mon, 01 Mar 2004 21:47:05 -0500, Neal Becker wrote
> I have 1 more question. What about an archive that uses mmap? This
> should be very efficient for saving/restoring large structures in
> binary format. Is this a good idea?
Probably. Maybe someone should try adapting Craig Henderson's memmap library
which is in the sandbox. From the docs:
A memory mapped file associates the contents of a file with a block of
virtual address space of a process. The Win32 platform and POSIX standard
provide means of creating and managing memory mapped files, however, the
methods for this is different between the two. The intention of the Boost
Memory Mapped File is to bridge the compatibility gap here, so that users
can write portable code that uses memory mapped files
Jeff
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk