News for hackers. Stuff that matters.
Re:How many floating-point numbers are in the interval [0,1]... by jherskovic on Saturday April 15, 2023 @01:39PM (#35582726)
My very-slightly-different Python implementation runs in 9m56s minutes on Python 3.11, but in 2m54s using pypy3.9 (all on an M1 Max)

pypy never ceases to amaze me for low-effort performance gains on computational stuff.

A naive implementation in C compiled with Apple's clang (-O2) takes 0.62 seconds, of course.

There are no comments on this comment yet.