Optimize Futures Core state-dependent fields
Summary: [Folly] Optimize Futures Core state-dependent fields, controlling when they are constructed and destructed. * Reduces layout size by removing the `Optional` wrapper for the result. * Reduces code size by removing checks and destructions in assignment operators which are not in constructors for `Optional`, `Try`, `Function`, and `shared_ptr`. Reviewed By: andriigrynenko Differential Revision: D8346365 fbshipit-source-id: 83ac164dc36934065f2fcfb112440869d023b674
Showing
Please register or sign in to comment