diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-07-22 13:02:38 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-07-22 13:02:38 -0600 |
commit | b0c97d887ab191434b5222894ba622b9d0856eac (patch) | |
tree | 5ebb87bf9175b1d8648b8016aa151a2b669fb0c9 /db_test.go | |
parent | Merge pull request #221 from cmars/win32 (diff) | |
download | dedo-b0c97d887ab191434b5222894ba622b9d0856eac.tar.gz dedo-b0c97d887ab191434b5222894ba622b9d0856eac.tar.xz |
Optimize large append.
This commit fixes an issue where large nodes would take up most of
the insert time because the entire node size would be calculated to
check if it could fit in a page or not. This changes the behavior
so that a node's size is only calculated up to the size it needs to
check and then returns.
Diffstat (limited to 'db_test.go')
0 files changed, 0 insertions, 0 deletions