mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
7d04c24a91
Summary: When querying for changesets in a repo, often there are very few changesets for a repo inside a 65536 wide range of ids, which means multiple round trips to the database. This change adds a LIMIT based mysql query that can always return up to the specified limit rows if the repo has them, and then using bounded_traversal_stream to unfold from the highest id loaded from that query to the next chunk to be loaded. Reviewed By: StanislavGlebik Differential Revision: D25804023 fbshipit-source-id: 46df2ea48d01bc4143d96642e45066f520faa4d6 |
||
---|---|---|
.. | ||
bench | ||
src | ||
Cargo.toml |