sapling/blobrepo
Simon Farnsworth e33d05223f Make CachingBlobstore generic, to allow optimization through the Arc
Summary:
In practice, caching blobstores are always wrapped around a known
concrete blob store. Make it generic in the type of the Blobstore, so that
rustc can reach in and inline appropriately if it sees an optimization
opportunity.

This is a micro-optimization, hence nice to have

Reviewed By: StanislavGlebik

Differential Revision: D8124627

fbshipit-source-id: 0d5d9b11fdede062ceaa949ace574b3d1c75e6b5
2018-05-29 10:08:16 -07:00
..
src Make CachingBlobstore generic, to allow optimization through the Arc 2018-05-29 10:08:16 -07:00
test Make it possible to generate hashes for uploaded content during upload 2018-05-16 09:35:28 -07:00