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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

When should I use a hash table instead of an association list?

4 点作者 pravj超过 9 年前

1 comment

ketralnis超过 9 年前
&gt; Alists can sometimes be more efficient if the keys are sorted according to frequency, with the most heavily accessed keys appearing at the front of the list<p>You can also get this with splay trees, and then you get some of your other nice tree behaviours like faster inserts, immutability potential, etc