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 <rep...@bugs.python.org> <http://bugs.python.org/issue26081> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com