aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/datastore/buffer_type
Commit message (Collapse)AuthorAgeFilesLines
* Add more conservative buffer allocation strategy in datastore buffers.Geir Storli2018-01-193-0/+125
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.