[issue26081] Implement asyncio Future in C to improve performance

Yury Selivanov report at bugs.python.org
Mon Jan 11 12:23:44 EST 2016


New submission from Yury Selivanov:

Some info on this: https://github.com/python/asyncio/issues/282#issuecomment-155957235  Long story short, Future implemented in C can speedup some asyncio code up to 25%.

I'm attaching a patch with a WIP implementation.  There are some failing assertions deep in GC, which I need to track down.  'Future.remove_done_callback' still needs to be properly implemented.

----------
assignee: yselivanov
components: asyncio
files: futures.patch
keywords: patch
messages: 257984
nosy: gvanrossum, haypo, yselivanov
priority: normal
severity: normal
stage: needs patch
status: open
title: Implement asyncio Future in C to improve performance
type: performance
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file41579/futures.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26081>
_______________________________________


More information about the Python-bugs-list mailing list