Re: [Python-Dev] Inplace operations for PyLong objects

2017-09-02 Thread Antoine Pitrou
On Sat, 2 Sep 2017 10:38:05 -0700 Chris Barker wrote: > On Fri, Sep 1, 2017 at 6:16 PM, Joe Jevnik via Python-Dev < > python-dev@python.org> wrote: > > > The string concat optimization happens in the interpreter dispatch for > > INPLACE_ADD > > > > In that case, isn't

Re: [Python-Dev] Inplace operations for PyLong objects

2017-09-02 Thread Chris Barker
On Fri, Sep 1, 2017 at 6:16 PM, Joe Jevnik via Python-Dev < python-dev@python.org> wrote: > The string concat optimization happens in the interpreter dispatch for > INPLACE_ADD > In that case, isn't there a new string being build, all in one line of python? that is, the string the optimization