TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Open source hash_map with unparalleled performance/memory usage ratio

5 pointsby greg7mdpover 8 years ago

1 comment

dalkeover 8 years ago
It&#x27;s an improved version of Google&#x27;s sparsehash, with better performance and actual key deletion (instead of erasure), though with a slight memory hit.<p>It links to a performance comparison of their sparse++ with g++ version 4.8.4&#x27;s std::unordered_map, Boost version 1.55&#x27;s unordered_map, and Google&#x27;s Sparsehash and cpp-btree libraries, at <a href="https:&#x2F;&#x2F;github.com&#x2F;greg7mdp&#x2F;sparsepp&#x2F;blob&#x2F;master&#x2F;bench.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;greg7mdp&#x2F;sparsepp&#x2F;blob&#x2F;master&#x2F;bench.md</a> .<p>(While a link to the benchmark is in the README, I managed to overlook the link because it doesn&#x27;t stand out.)