logoalt Hacker News

iberator07/31/20253 repliesview on HN

Back in 2022 it worked fine with literally all modules except some ssh, ssl and C based modules.

With a little bit of tinkering (multiprocessing, choosing the right libraries written strictly in python, PyPy plus a lot of memory) I was able to optimize some workflows going from 24h to just 17 minutes :) Good times...

It felt like magic.


Replies

achierius07/31/2025

The "C based modules" bit is the kicker. A significant chunk of Python users essentially use it as a friendly wrapper for more-powerful C/C++ libraries underneath the hood.

show 1 reply
hnuser12345607/31/2025

Yep, I had a script that was doing some dict mapping and re-indexing, wrote the high level code to be as optimal as possible, and switching from cpython to pypy brought the run time from 5 minutes to 15 seconds.

anthk07/31/2025

If pypy worked with Retux the game would get a big boost. Altough the main issue is that it tried to redraw many object at one per frame.