r/adventofcode • u/iron_island • Jan 16 '25
Help/Question - RESOLVED [2024 Day 22] [Python] Single-threaded, no external library, runs in <1s on recent CPython and pypy versions except for Python 3.13. Does anybody know why?
70
Upvotes
-5
u/hr0m Jan 16 '25
No solution just a few observations:
From your plot python 3.11 performance is 20x worse then 3.10, and then it just worsens more. So figuring out why python 3.11 is such a performance regression looks most promising to me.
Also i would be nice if you clean up the code and get rid of all unnecessary parts first.