Speed vs Memory [was: On Lists and Iterables]
Xen
list at xenhideout.nl
Sun Dec 17 11:34:49 UTC 2017
-------- Oorspronkelijke bericht --------
Onderwerp: Re: Speed vs Memory [was: On Lists and Iterables]
Datum: 17-12-2017 12:28
Afzender: Xen <list at xenhideout.nl>
Ontvanger: Neal McBurnett <neal at bcn.boulder.co.us>
Just to summarize this.
Xen schreef op 17-12-2017 12:22:
> Meanwhile Python 3.4 can be excessively slower than 2.7. SO WHERE'S THE
> GAIN?
I haven't found any "definitive" benchmarks yet but there are plenty of
people benchmarking and they reveal that 3.4 is much slower than 2.7.
This is an example:
Python 2.7: 24344.88 pystones/second
Python 3.4: 17459.89 pystones/second
Nuitka 2.7: 47243.92 pystones/second
Nuitka 3.4: 28658.92 pystones/second
That's 72% the performance of Python 2.7 and 60% while pre-compiling.
And for that you change your language to decrease memory consumption for
temporary scoped objects?
More information about the Ubuntu-devel-discuss
mailing list