updated hmap_c to reflect performance tweaks in hmap