Python 3.3 vs. MSDOS Basic
Gregory Ewing
greg.ewing at canterbury.ac.nz
Wed Feb 20 00:32:55 EST 2013
Chris Angelico wrote:
> On Wed, Feb 20, 2013 at 7:28 AM, Serhiy Storchaka <storchaka at 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
More information about the Python-list
mailing list