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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Rewriting a Solaris command in Python gained 17x performance improvement from C

2 点作者 symisc_devel超过 5 年前

2 条评论

trollied超过 5 年前
“ But Python would be slower right ? Turns out it isn&#x27;t and in fact for some of my datasets (that had over 100,000 users in them) it was 17 times faster. I also made sure that the Python version doesn&#x27;t pull the entire nameservice into memory when it knows it is going to be filtering it based on the -l and -g options.”<p>Surely you can’t say it’s 17 times faster if you’ve changed the amount of data you’re actually dealing with? It’s not a like for like comparison.
alpaca128超过 5 年前
Off-topic: this is the first time I&#x27;ve seen a page with two stacked popups, with the close button of the first not working because the other blocks it.<p>Pure ad blocking really doesn&#x27;t cut it anymore.