An STL-style allocator and vector specialization based on the Mach kernel memory allocator, part of every Mac OS X system.
The vector specialization uses Mach copy-on-write to optimize copying and resizing. Pass vectors by value, copy them to other threads and append data without worrying about reallocation overheads!
vm_allocate
and vm_deallocate
.