sapling/edenscmnative/bindings
Arun Kulshreshtha 78fe67ae86 manifest: add BFS prefetch function
Summary:
Add a client-driven tree prefetching implementation to the Rust manifest code. Unlike the existing prefetch implementation in Python, this one does all computation of which nodes to fetch on the client side using the BFS logic from BfsDiff. The trees are then bulk fetched layer-by-layer using EdenAPI.

This initial version is fairly naive, and omits some obvious optimizations (such as performing fetches of multiple trees concurrently), but is sufficient to demonstrate HTTP tree prefetching in action.

Reviewed By: xavierd

Differential Revision: D17379178

fbshipit-source-id: f17fe99834ad4fec07b4a4ab196928cc4fe91142
2019-09-30 20:26:36 -07:00
..
modules manifest: add BFS prefetch function 2019-09-30 20:26:36 -07:00
src Workingcopy python binding 2019-09-27 09:17:10 -07:00
Cargo.toml Workingcopy python binding 2019-09-27 09:17:10 -07:00