On 14 July 2017 at 14:33, Victor Stinner <victor.stin...@gmail.com> wrote:
>> A lot of great optimizations and bugfixes. Speaking of optimizations, I just
>> wrote some code which takes 12s on Python 2.7 and 5s on Python 3.5. so we're
>> doing something right! I might post about it shortly.
>
> Hum, I'm curious to see which kind of code becomes so much faster on Python 3.

time.sleep(5 if sys.version_info >= (3,) else 12)

:-)

Paul
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to