Chris Angelico wrote:
On Wed, Feb 20, 2013 at 7:28 AM, Serhiy Storchaka <storch...@gmail.com> wrote:

10-15% faster:
... num = max(range(2, M + 1), key=g) ...

Yes, but 20-30% less clear and readable. Though I do like the idea of
playing this code in the key of G Major.

On the SmartStupid, presumably.

http://wordsmith.org/board/ubbthreads.php?ubb=showflat&Number=101906

--
Greg
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to