mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
d0823ab865
Summary: Dir's contents were represented as a vector of 64-bit pointers to 48-byte structs. This change removes that layer of indirection, reducing memory usage and slightly pessimizing insertion. The diff is mostly mechanical outside of the TreeInode.h changes and calls to emplace.. I'll run memory tests tomorrow, though it's a gamble as to whether private bytes will show a difference. I may need to shrink the Entry struct too. Reviewed By: wez Differential Revision: D6804957 fbshipit-source-id: b126656dbc7951565e74b6401adde6353e809056 |
||
---|---|---|
.. | ||
test | ||
FakeBackingStore.cpp | ||
FakeBackingStore.h | ||
FakeClock.h | ||
FakeObjectStore.cpp | ||
FakeObjectStore.h | ||
FakeTreeBuilder.cpp | ||
FakeTreeBuilder.h | ||
HgRepo.cpp | ||
HgRepo.h | ||
StoredObject.h | ||
TARGETS | ||
TestChecks.h | ||
TestMount.cpp | ||
TestMount.h | ||
TestUtil.cpp | ||
TestUtil.h |