TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

2 pointsby symisc_develover 5 years ago

2 comments

trolliedover 5 years ago
“ 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.
alpaca128over 5 years ago
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.