sapling/eden/mononoke/walker
Alex Hornby 0a8c81c668 mononoke: walker state, check for visited before insert
Summary:
Now that the previous diff has pre-computed the hash value using EagerHashMemo, its less expensive to try a read-lock only get() first before committing to a write lock acquiring insert().

The combination of these and the previous diff moved WalkState::visit from dominating the cpu profile to not ( the path interning dominates now ).

Reviewed By: krallin

Differential Revision: D22975881

fbshipit-source-id: 90b2be83282ee2095c517c0d4f13536ddadf6267
2020-08-11 02:52:43 -07:00
..
src mononoke: walker state, check for visited before insert 2020-08-11 02:52:43 -07:00
Cargo.toml mononoke: update walker state to use eager hash memo 2020-08-11 02:52:43 -07:00