summaryrefslogtreecommitdiffstats
path: root/searchcommon
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 /searchcommon
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 'searchcommon')
0 files changed, 0 insertions, 0 deletions