On 04.02.22 08:52, Christopher Barker wrote:
This is very cool Chris -- thanks!
and with the amazing result of speed: PyPy 3.8 works 10 times faster than the identical code on Python 3.10 and 5.5 times slower than the same example in C++ Qt.
Is this primarily Python-QT interaction? or computing the mandelbrot set, for which I would expect to see performance numbers like that.
This is purely the calculation speed of Mandelbrot, run in a Gui, with the working horse being Python vs. PyPy. Qt only acts as painter after each generation or when zooming.
Since the numbers for a pure Qt application were interesting too, this was also given. But the showcase was "look ma, how fast it is, and it works in a nice Gui".
Anyway, really cool in any case -- a major step for PyPy.
Yes, I think so, too. The existence of a Gui for PyPy might create much interest for both projects.
Cheers - Chris