3 ms·
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 hea
by alexhultman 10y ago
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.