• Andrii Grynenko's avatar
    Switch folly::Singleton to ReadMostlySharedPtr · 71c140ed
    Andrii Grynenko authored
    Summary:
    This also introduces a new try_get_fast() API which returns ReadMostlySharedPtr.
    We should eventually migrate all users onto this API.
    
    Reviewed By: elsteveogrande
    
    Differential Revision: D2706745
    
    fb-gh-sync-id: d558d705f431fc6147334c188fd0c6156644ba5c
    71c140ed
SingletonBenchmark.cpp 3.61 KB