> Buffers are now created in JavaScript, rather than C++. This increases the speed of buffer creation.
How can this be possible? How can allocation via JavaScript (which I assume must call malloc underneath) be faster than just malloc in C++? Does Node have a slab allocator for buffers like the Linux kernel has for task structs, or are objects allocated on the heap on demand?