You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
* Move deferred initialization in `ensureApplySpec` from the fast-path to the slow-path.
* Use `ThreadLocalPtr<TLHistogram>` v.s. `ThreadLocal<shared_ptr<TLHistogram>>` to reduce object size and to remove one level of indirection. `ThreadLocalPtr<T>` has special support for being assigned `shared_ptr<T>`.
* Put spec on heap and delete it after deferred init to reduce its memory consumption.
Reviewed By: Gownta
Differential Revision: D66590811
fbshipit-source-id: 10ed7c5219bd6cfde0ca7d6d18ce52040ab239bb
0 commit comments