[issue32355] Optimize asyncio.gather()

2017-12-19 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32355] Optimize asyncio.gather()

2017-12-19 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 36c2c044782997520df7fc5604742a615ccf6b17 by Yury Selivanov in branch 'master': bpo-32355: Optimize asyncio.gather() (#4913) https://github.com/python/cpython/commit/36c2c044782997520df7fc5604742a615ccf6b17 --

[issue32355] Optimize asyncio.gather()

2017-12-17 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +4807 stage: -> patch review ___ Python tracker ___

[issue32355] Optimize asyncio.gather()

2017-12-17 Thread Yury Selivanov
New submission from Yury Selivanov : asyncio.gather can be made faster if: 1. we don't use functools.partial 2. create less intermittent collections 3. drop unnecessary code (e.g. gather has some code that's duplicated in ensure_future that it uses etc) The proposed PR