[issue38879] Reordered error checking in PyArena_New().

2020-06-26 Thread Zoltán Szatmáry
Change by Zoltán Szatmáry : -- hgrepos: -386 ___ Python tracker <https://bugs.python.org/issue38879> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38879] Reordered error checking in PyArena_New().

2019-11-21 Thread Zoltán Szatmáry
Change by Zoltán Szatmáry : -- type: -> performance ___ Python tracker <https://bugs.python.org/issue38879> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue38879] Reordered error checking in PyArena_New().

2019-11-21 Thread Zoltán Szatmáry
New submission from Zoltán Szatmáry : Put "arena->a_cur = arena->a_head;" after the error checking of "arena->a_objects = PyList_New(0);". It's more optimal, even if it can't be measured. -- hgrepos: 386 messages: 357180 nosy: Zotyamester priorit