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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Fast prime counting algorithms (Euler #543, 120x faster than sieve)

2 点作者 acgan超过 5 年前
I wrote an article documenting my experience solving Project Euler problem 543. It&#x27;s a surprisingly deep problem, and using a specialized algorithm sped up my solution by two orders of magnitude. (Wrote initial draft 12&#x2F;2016, updated 8&#x2F;2019).<p>https:&#x2F;&#x2F;acgan.sh&#x2F;posts&#x2F;2016-12-23-prime-counting.html<p>I&#x27;d love some feedback here - in general I&#x27;m quite surprised this isn&#x27;t a well known technique in many libraries (even amongst my mathy friends).

暂无评论

暂无评论