Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add more conservative buffer allocation strategy in datastore buffers. | Geir Storli | 2018-01-19 | 3 | -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. |