4 ms·
Also - this server passes the entire Autobahn with no fails, passes Engine.IO tests, Primus tests and exits gracefully with no Valgrind issues. Also, it builds
by alexhultman 10y ago
Also - this server passes the entire Autobahn with no fails, passes Engine.IO tests, Primus tests and exits gracefully with no Valgrind issues. Also, it builds with no warnings. Also, it has been running for weeks stable.
- IIlllIllIIIIlII 10y agoCan I ask why you choose to implement your own queue when many exist within C++? (e.g. using queue<T> or list<T>)
- alexhultman 10y agoMemory 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.