Tommy library might be of interest [1]. Some twitter posts claim that it's faster than khash. I have not tried it myself though, but their interface and documentation look promising. [1] http://tommyds.sourceforge.net/doc/index.html -- Regards, Konstantin