Implement tail call optimization
Summary: This adds an optimization for cases where recursive .then() is used to implement a loop. Instead of creating a chain of Cores that fulfil each other, we steal a callback from previous core if possible. Reviewed By: yfeldblum Differential Revision: D10392101 fbshipit-source-id: 008c644df7472f5e280b24a41c62ee7199954abc
Showing
Please register or sign in to comment