sapling/cstore
Durham Goode 41486c3f47 cstore: C++ implementation of datapackstore
Summary:
The remaining python parts of the store are a perf bottleneck when accessing
hundreds of thousands of pack file entries (like in treemanifest). Let's
implement them in C++.

This first patch just add the basic boiler plate, and implements a single
function getdeltachain(), with a test. Future patches will add more
functionality and other parts of the store.

Since cstore depends on cdatapack and ctreemanifest (the pythonutils.h part for
now), we need to tweak our setup.py to enforce a certain build order too.

Test Plan: Added a test, yo

Reviewers: #mercurial, simonfar

Reviewed By: simonfar

Subscribers: simonfar, stash, mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D4547929

Signature: t1:4547929:1487181318:21c146cf370d26cb97efe6a883868b85b4e32f49
2017-02-15 15:19:36 -08:00
..
datapackstore.cpp cstore: C++ implementation of datapackstore 2017-02-15 15:19:36 -08:00
datapackstore.h cstore: C++ implementation of datapackstore 2017-02-15 15:19:36 -08:00
key.h cstore: C++ implementation of datapackstore 2017-02-15 15:19:36 -08:00
py-cstore.cpp cstore: C++ implementation of datapackstore 2017-02-15 15:19:36 -08:00