flat implementation of the persistent hashtable