[issue26002] make statistics.median_grouped more efficient

Steven D'Aprano report at bugs.python.org
Thu Feb 11 09:22:55 EST 2016


Steven D'Aprano added the comment:

Looks good to me.

I've run some quick timing tests, and for very small lists, there's no significant difference, but for larger lists I'm getting up to a 50% speedup. Nicely done, thank you.

----------

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


More information about the Python-bugs-list mailing list