Improve SingletonThreadLocal performance
Summary: [Folly] Improve `SingletonThreadLocal` performance. By explicitly controlling inlining behavior. The ctor is definitionally cold - once per process - so outline. `get` is hot so inline. Uncached `get` is cold - once per thread - so outline uncached. Reviewed By: djwatson Differential Revision: D6736662 fbshipit-source-id: 4cd77c7772b46e2e3c6b2a3dc071b2b06522979e
Showing
Please register or sign in to comment