On Thu, 18 Oct 2007 23:31:13 +0900, "M. Edward (Ed) Borasky" <znmeb / cesmail.net> wrote:
> Is this worth making part of the standard Ruby build on Linux?

The downside is that using mmap for every allocation can result in
a large number of distinct memory mappings, hurting performance.

Ideally, Ruby could allocate heaps using mmap rather than malloc,
on platforms where it was feasible to do so (generally this means
private mappings of /dev/zero, which not all Unices support).  On
Windows you'd probably want to use VirtualAlloc().

-mental