aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2016-01-07 13:23:12 +0000
committerHoward Chu <hyc@symas.com>2016-02-17 04:05:29 +0000
commitf2faf8cdd9efd3ff044d3f67d5cae62addfec679 (patch)
treeef8ad896adc89caef582e71af17073e53e834f0d /cmake
parentUse cursors in write txns (diff)
downloadmonero-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