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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

B-Heap vs. Binary Heap (2010)

99 点作者 sakai大约 12 年前

5 条评论

jfarmer大约 12 年前
This is a great article and the diagrams illustrating the difference between a binary heap and a B-heap are awesome. The comments are amusingly negative, too.<p>It's worth noting that it was published in 2010, though. The Wikipedia article on B-heaps actually references this article: <a href="http://en.wikipedia.org/wiki/B-heap" rel="nofollow">http://en.wikipedia.org/wiki/B-heap</a>
评论 #5587337 未加载
评论 #5587191 未加载
imperio59大约 12 年前
Thanks for the article and the comments, I had never heard of Cache Oblivious algorithms and this article seems to indicate that others have not either: <a href="http://blogs.msdn.com/b/devdev/archive/2007/06/12/cache-oblivious-data-structures.aspx" rel="nofollow">http://blogs.msdn.com/b/devdev/archive/2007/06/12/cache-obli...</a><p>I wonder if current popular libraries like the STL or the Java Collections library have started to take advantage of this work yet or not...
评论 #5588222 未加载
评论 #5587435 未加载
评论 #5587749 未加载
emin_gun_sirer大约 12 年前
Those of you interested in cache conscious algorithm design should check out Anthony LaMarca's thesis from 1996: <a href="http://homes.cs.washington.edu/~lamarca/pubs/lamarca-thesis.pdf" rel="nofollow">http://homes.cs.washington.edu/~lamarca/pubs/lamarca-thesis....</a><p>The article only cites papers from 1961 and 1964, and complains about how CS departments use out-of-date machine models when teaching algorithms. This is just not true at any of the top schools.
timv大约 12 年前
There's some useful comments from last time this popped on to the HN front page: <a href="http://news.ycombinator.com/item?id=1426211" rel="nofollow">http://news.ycombinator.com/item?id=1426211</a>
kristopher大约 12 年前
Here[0] is the implementation if anyone is curious.<p>[0] <a href="https://github.com/varnish/Varnish-Cache/blob/master/lib/libvarnish/binary_heap.c" rel="nofollow">https://github.com/varnish/Varnish-Cache/blob/master/lib/lib...</a>