On 24/06/2009, at 1:00 PM, Erick Tryzelaar wrote: > > I've never done much with mmap, but I do know that llvm has cross > platform bindings to the various mmap implementations.
Doesn't help, Linux mmap() has features not available on other mmap. Windows also can do much more than standard mmap(). What is really required is to allocate address space (only) with automatic memory page allocation on demand. That way, ordinary varray is quite enough: just allocate 100Gig or so. Otherwise, to avoid wasting address space, realloc() is pretty good, since most implementations will avoid copying in the way I described if possible. -- john skaller skal...@users.sourceforge.net ------------------------------------------------------------------------------ _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language