mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
3733848cef
Summary: Asyncmemo has two issues for our use: 1. Separate memory pool from cachelib caches. 2. Future fusion means that a `get` that should succeed will fail because there was an earlier get still in progress. The second is good for memoization, where the worst case from a failed get is extra CPU work, but not so good for caching. Replace uses of Asyncmemo for caches with a cachelib based cache Reviewed By: StanislavGlebik Differential Revision: D9013679 fbshipit-source-id: b85d4eec7294e0c8ee08faa671d26901b35cf1fc |
||
---|---|---|
.. | ||
src | ||
test | ||
Cargo.toml |