Re: [Cython] Performance comparison with CPython for attribute/item access

2019-02-17 Thread Stefan Behnel
Stefan Behnel schrieb am 16.02.19 um 22:39: > - The list append/pop optimisations seem to slow down non-lists > unproportionally, for deques by 3x compared to CPython. That seems worth > improving. > > CPython 3.8 (63fa1cfece) > > Stack (or queue) operations: > 61.6 ns

[Cython] Performance comparison with CPython for attribute/item access

2019-02-16 Thread Stefan Behnel
Hi, Raymond Hettinger wrote a micro benchmark script for comparing the performance of basic attribute and item access patterns across Python versions and build configurations, so I tested the initially committed version with Cython. https://github.com/python/cpython/blob/master/Tools/scripts/var_