mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
c6f21b1cc8
Summary: Previously `max_gen()` function did a linear scan through all the keys, and it was linear. Let's use `UniqueHeap` datastructure to track maximum generation number. Reviewed By: lukaspiatkowski Differential Revision: D13275471 fbshipit-source-id: 21b026c54d4bc08b26a96102d2b77c58a981930f |
||
---|---|---|
.. | ||
pylz4 | ||
rust | ||
uniqueheap/src |