TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Open source hash_map with unparalleled performance/memory usage ratio

5 点作者 greg7mdp超过 8 年前

1 comment

dalke超过 8 年前
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.)