replace the map with an unordered_map in the factorId-to-features cache.