Guido van Rossum <gu...@python.org> added the comment:

The link 
https://github.com/facebookincubator/cinder/blob/cinder/3.8/Python/ceval.c#L6617
 points to something that I wouldn't associate with the subject. @Dino, could 
you provide a new link (preferably a permalink)?

FWIW rather than dynamically checking what the next opcode is, maybe we could 
use a super-instruction for CALL + GET_AWAITABLE? (Understanding that there are 
a bunch of different CALL opcodes.)

The gather code you link to is all in C. Is rewriting gather in C the only way 
to benefit from this speedup? (I guess you could just add your gather impl to 
the existing _asynciomodule.c, in the same or a separate PR.)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46965>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to