summaryrefslogtreecommitdiffstats
path: root/searchlib/CMakeLists.txt
diff options
context:
space:
mode:
authorGeir Storli <geirst@oath.com>2018-01-19 14:18:57 +0000
committerGeir Storli <geirst@oath.com>2018-01-19 14:18:57 +0000
commiteac3947f1275207660547f040b69127c18c08bff (patch)
treef403ed62c7f874ebb33dd063d5e03fb56cda6247 /searchlib/CMakeLists.txt
parentc8f67aeeb1bb0acb996af6cc6abb9becda074272 (diff)
Add more conservative buffer allocation strategy in datastore buffers.
This should greatly reduce the memory footprint of multi-value attribute vectors which uses an array store for underlying values. The size of a new buffer is calculated as (simplified): *) before: (size of previous buffer) * 2 *) now: (size of all previous buffers) * allocation grow factor (default = 0.2) In addition we now support resizing of all buffers, not only the first one.
Diffstat (limited to 'searchlib/CMakeLists.txt')
-rw-r--r--searchlib/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchlib/CMakeLists.txt b/searchlib/CMakeLists.txt
index d77ec346cef..3b321f4a12f 100644
--- a/searchlib/CMakeLists.txt
+++ b/searchlib/CMakeLists.txt
@@ -108,6 +108,7 @@ vespa_define_module(
src/tests/common/summaryfeatures
src/tests/datastore/array_store
src/tests/datastore/array_store_config
+ src/tests/datastore/buffer_type
src/tests/datastore/datastore
src/tests/datastore/unique_store
src/tests/diskindex/bitvector