mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
46441b3765
Summary: In a later diff, I needed generateUniqueID to be noexcept. folly::ThreadLocal does not guarantee that (and it allocates the first time a thread calls get()), so use C++ thread_local instead. Bonus: it's about half a nanosecond faster now. Reviewed By: strager Differential Revision: D12914625 fbshipit-source-id: 9ddbe65d0ba1d317907f821c03dea5a207a73a68 |
||
---|---|---|
.. | ||
config | ||
fuse | ||
inodes | ||
journal | ||
model | ||
rocksdb | ||
service | ||
sqlite | ||
store | ||
takeover | ||
testharness | ||
tracing | ||
utils | ||
CMakeLists.txt |