On 04.02.22 08:52, Christopher Barker wrote:
This is very cool Chris -- thanks!
One question:
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 -- Christian Tismer-Sperling :^) tismer@stackless.com Software Consulting : http://www.stackless.com/ Strandstraße 37 : https://github.com/PySide 24217 Schönberg : GPG key -> 0xFB7BEE0E phone +49 173 24 18 776 fax +49 (30) 700143-0023