sapling/eden
Xavier Deguillard 8b082a18f7 revisionstore: don't prefetch with an empty key set
Summary:
Even when memcache would be able to prefetch everything, this would always call
into the underlying remote store with an empt key set. For things like `hg
prefetch` and a large number of keys, the effect of doing that is minimum, but
for EdenFS or `hg log -p`, the roundtrip to the server for every file/revision
would add a significant amount of overhead. Let's simply stop iterating when we
no longer need to fetch anything.

Reviewed By: DurhamG

Differential Revision: D19835797

fbshipit-source-id: 54ad704428c3b20d973cfa87f7171899ec44b3f9
2020-02-11 18:05:16 -08:00
..
benchmarks enable and fix more warnings 2019-12-20 16:14:17 -08:00
cli Update pyre version for eden 2020-02-07 17:43:04 -08:00
docs documentation for paths 2020-01-17 12:08:42 -08:00
fs Functions to convert widechar to RelativePath, AbsolutePath and PathComponent 2020-02-11 11:12:54 -08:00
integration fix eden doctor's check for commit validity to handle corrupt checkouts 2020-01-30 11:15:37 -08:00
locale add a copyright header to glibc_en.po 2019-04-26 14:38:27 -07:00
mononoke Make AuthorizationService client available in Rust 2020-02-11 17:53:39 -08:00
py Call WSAStartup and fix the type information for the socket APIs 2019-10-18 12:39:09 -07:00
scm revisionstore: don't prefetch with an empty key set 2020-02-11 18:05:16 -08:00
scripts Tidy up license headers 2019-10-11 05:28:23 -07:00
test_support eden: remove hypothesis test bits 2020-01-23 11:37:27 -08:00
test-data enable treemanifest in snapshots 2019-08-28 18:46:03 -07:00
third-party fix some macOS build warnings 2020-01-23 17:37:39 -08:00
win flip EDEN_WIN_NOMONONOKE to EDEN_HAVE_MONONOKE 2019-08-27 17:04:19 -07:00
.gitignore eden: wire up mac contbuild 2019-02-05 21:52:30 -08:00
Eden.project.toml Eden.project.toml file for Nuclide 2018-04-26 11:05:23 -07:00