no memset
less thread-local lookups
calculate hash outside of lock
turn off trace logging
less doxygen-style comments
made function private
calculate lengths only once during dump()
less memset
less memset
use namespace std