diff options
author | Howard Chu <hyc@symas.com> | 2016-01-07 13:23:12 +0000 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2016-02-17 04:05:29 +0000 |
commit | f2faf8cdd9efd3ff044d3f67d5cae62addfec679 (patch) | |
tree | ef8ad896adc89caef582e71af17073e53e834f0d /cmake | |
parent | Use cursors in write txns (diff) | |
download | monero-f2faf8cdd9efd3ff044d3f67d5cae62addfec679.tar.xz |
Use MDB_APPEND mode where possible
When keys are contiguous and monotonically increasing, this gets
denser page utilization (doesn't leave padding in page splits).
Can't be used for keys that are inserted in random order (e.g. hashes)
In total this only saves around 1.5% of space compared to original
DB code. The previous patch accounted for 0.8% savings on its own;
the blocks tables just aren't that big.
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions