On Mon, Aug 3, 2020 at 5:50 PM Steven D'Aprano <st...@pearwood.info> wrote:

> According to my testing in Python 3.8, the version with sample is about
> 10% slower than the "shuffled" helper I gave.


I got similar results, but my conclusion was that 10% isn’t significant:-)

Is it likely to be run in an inner loop?

- CHB
-- 
Christopher Barker, PhD

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/SYCF7J5CWZQXKJ4OWEFSSTID3VIT3HZH/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to