2 comments

[ 3.1 ms ] story [ 19.0 ms ] thread
Happy to see that he mentionned working on a memory pool in his todo list, malloc's mutex will really hinder the multi-threading performance here.

I recommend he uses: "Scalable Lock-Free Dynamic Memory Allocation" by Maged M. Michael

Incidentally, this is one of the guys who came up with the lock-free queue algorithm he uses.