Re:uWebSockets: Scalable WebSocket server library for Node.j...
by alexhultman on Friday May 20, 2016 @10:06AM
(#11737852)
Memory footprint and performance.
This implementation is way, way more lightweight. And it assumes that the buffer being queued has a struct Message in its head, so it doesn't have to allocate a node - one memory allocation is therefore skipped.
This implementation is way, way more lightweight. And it assumes that the buffer being queued has a struct Message in its head, so it doesn't have to allocate a node - one memory allocation is therefore skipped.