Revert "hashtable: introduce a small and naive hashtable"

This reverts commit f076beebb4afaa163ac7a577563670be16ec1c97.