Hash-based containers for improved performance