]> git.ipfire.org Git - thirdparty/tornado.git/commit
Introduce a fast path for coroutines that run to completion without yielding.
authorBen Darnell <ben@bendarnell.com>
Sat, 22 Mar 2014 17:48:59 +0000 (13:48 -0400)
committerBen Darnell <ben@bendarnell.com>
Sat, 22 Mar 2014 18:16:10 +0000 (14:16 -0400)
commit37cf8b9ea924119fc983a1f1b14402d17fd979e4
tree6cc466a44e70c73d5b26b60fcb279e587184f5ca
parentd41caf16971d11f858b317ddd14d53c31da5a5f7
Introduce a fast path for coroutines that run to completion without yielding.

This mitigates the performance impact of allowing coroutines in
RequestHandler._execute when that capability is not actually used.
tornado/gen.py
tornado/web.py