[issue35094] Improved algorithms for random.sample

Raymond Hettinger report at bugs.python.org
Sun Oct 28 15:54:05 EDT 2018


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Sorry, this has been discussed and rejected multiple times.  Reservoir sampling makes far too many calls to the underlying random number generator.

----------
assignee:  -> rhettinger
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35094>
_______________________________________


More information about the Python-bugs-list mailing list