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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

A Comparison of Functional Data Structures on the JVM

122 点作者 prospero超过 6 年前

8 条评论

wmfiv超过 6 年前
For those interested in this type of thing, Li Haoyi created an in depth look at the Scala structures.<p><a href="http:&#x2F;&#x2F;www.lihaoyi.com&#x2F;post&#x2F;BenchmarkingScalaCollections.html" rel="nofollow">http:&#x2F;&#x2F;www.lihaoyi.com&#x2F;post&#x2F;BenchmarkingScalaCollections.htm...</a><p>It includes some interesting commentary as well.
jvican超过 6 年前
Note that Scala 2.13 (next release) includes a CHAMP hash map implementation, first contributed by the original author and then refined by several Scala contributors, most notably Jason Zaugg (@retronym) and Josh (@joshlemer)
评论 #18170316 未加载
agumonkey超过 6 年前
reddit thread from a year ago <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;programming&#x2F;comments&#x2F;5790ky&#x2F;benchmarking_scala_collections&#x2F;?submit_url=http%3A%2F%2Fwww.lihaoyi.com%2Fpost%2FBenchmarkingScalaCollections.html&amp;already_submitted=true&amp;submit_title=Benchmarking+Scala+Collections" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;programming&#x2F;comments&#x2F;5790ky&#x2F;benchma...</a>
jphalimi超过 6 年前
Thanks for sharing! One quick question: in the methodology section, you mention that the results are from a median value out of repeated runs. While I get that you run JITted code, you also mention that it makes the runs isolated from GC side-effects.<p>Just out of curiosity, what did you do to ensure that GC would not interfere with the execution while the tests are running?
评论 #18171981 未加载
_Codemonkeyism超过 6 年前
Pet peeve: I wish people would call them persistent or fork-on-write, but functional at least is better than immutable.
评论 #18170609 未加载
评论 #18170613 未加载
评论 #18170434 未加载
评论 #18170459 未加载
the_arun超过 6 年前
I see you have written interfaces like List &amp; Maps. Probably, we need to use interfaces from Java native, but provide better implementation through bifurcan. This makes it easy for existing applications to switch to bifurcan where they need.
the_arun超过 6 年前
Indeed great work! Is Google&#x27;s guava collections part of this research?
评论 #18170207 未加载
ertucetin超过 6 年前
Great work!