Revert "hashtable: introduce a small and naive hashtable"

This reverts commit c943f803c85d8a478047bbcb73527e2858dbeee4.