Message373864
More thoughts:
* If sample_iter() were added, people would expect a choices_iter() as well.
* Part of the reason that Set support was being dropped from sample() is that it was rarely used and that it was surprising that it was a O(n) operation instead of O(k). |
|
Date |
User |
Action |
Args |
2020-07-18 00:09:45 | rhettinger | set | recipients:
+ rhettinger, tim.peters, mark.dickinson, oscarbenjamin |
2020-07-18 00:09:45 | rhettinger | set | messageid: <1595030985.57.0.938632579905.issue41311@roundup.psfhosted.org> |
2020-07-18 00:09:45 | rhettinger | link | issue41311 messages |
2020-07-18 00:09:45 | rhettinger | create | |
|