[issue32351] Use fastpath in asyncio.sleep if delay<0

2017-12-17 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> performance ___ Python tracker ___ _

[issue32351] Use fastpath in asyncio.sleep if delay<0

2017-12-17 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 5382c05021026fe623def829d121f5f6af4909fb by Andrew Svetlov in branch 'master': bpo-32351: Use fastpath in asyncio.sleep if delay<0 (#4908) https://github.com/python/cpython/commit/5382c05021026fe623def829d121f5f6af4909fb -- ___

[issue32351] Use fastpath in asyncio.sleep if delay<0

2017-12-17 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +4802 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue32351] Use fastpath in asyncio.sleep if delay<0

2017-12-17 Thread Andrew Svetlov
New submission from Andrew Svetlov : Currently asyncio.sleep schedules a callback execution by `loop.call_later()` call, which has the same behavior but 2x slower. -- components: Library (Lib), asyncio messages: 308487 nosy: asvetlov, yselivanov priority: normal severity: normal status: