#2340 enhancement new
Special case inlineCallbacks for case where Deferred already has value
|Reported by:||itamarst||Owned by:|
The value of a Deferred can be extracted without addCallbacks. Having inlineCallbacks do this should speed it up. Obviously this breaks abstraction, but (only!) within context of t.i.defer that's probably fine.
Benchmarks I sent to jknight separately demonstrate this change speeds up this case dramatically, and slightly speeds up the other case (with a buggy implementation, but still).