[issue26002] make statistics.median_grouped more efficient

Raymond Hettinger report at bugs.python.org
Thu Jan 28 02:06:04 EST 2016


Raymond Hettinger added the comment:

This code looks good and will certainly reduce the number of comparisons in non-trivial cases.

FWIW, It looks like the index functions are lifted directly from the bisect docs.

Steven, any objections?

----------
nosy: +rhettinger
stage:  -> patch review
versions:  -Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26002>
_______________________________________


More information about the Python-bugs-list mailing list