redjack/libcork — pull request #93 by dcreager (2014-10-24 20:10:55+00:00)
Title: Don't use mempool in cork_hash_table

Before we were using a `cork_mempool` to allocate all of the entries that are stored in a hash table. This reduces the number of times that we have to call `malloc`, but currently the mempool implementation isn't able to return memory to the OS. That makes it less than ideal for a hash table that grows and shrinks during its existence.

Plus, now that we have customizable allocation, a better approach is for your application to use a better `malloc` implementation, like jemalloc or tcmalloc.