[issue34303] micro-optimizations in functools.reduce()

2019-06-01 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34303] micro-optimizations in functools.reduce()

2019-06-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset e5f6207ba6cb510d9370519ba869296be01787be by Raymond Hettinger (Sergey Fedoseev) in branch 'master': bpo-34303: Micro-optimizations in functools.reduce() (GH-8598) https://github.com/python/cpython/commit/e5f6207ba6cb510d9370519ba869296be01787

[issue34303] micro-optimizations in functools.reduce()

2018-08-01 Thread INADA Naoki
Change by INADA Naoki : -- type: enhancement -> performance versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue34303] micro-optimizations in functools.reduce()

2018-08-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34303] micro-optimizations in functools.reduce()

2018-07-31 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- keywords: +patch pull_requests: +8107 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue34303] micro-optimizations in functools.reduce()

2018-07-31 Thread Sergey Fedoseev
New submission from Sergey Fedoseev : `PyTuple_SetItem()` can be replaced with macro version and `PyObject_Call()` can be used instead of `PyEval_CallObject()`. Here's benchmark results: $ python -m perf timeit --compare-to ~/tmp/cpython-master-venv/bin/python -s "from functools import reduc