[Python-Dev] Inplace operations for PyLong objects

Chris Angelico rosuav at gmail.com
Thu Aug 31 19:43:52 EDT 2017

On Fri, Sep 1, 2017 at 9:35 AM, Manciu, Catalin Gabriel
<catalin.gabriel.manciu at intel.com> wrote:
> A huge Python program with lots of PyLong inplace operations (not just
> adds, this can be applied to all PyLong inplace operations), regardless of them
> being in a loop or not, might benefit from such an optimization.

If you're writing a lot of numerical work in Python, have you tried
running your code in PyPy? At very least, it's worth adding as another
data point in your performance comparisons.


More information about the Python-Dev mailing list