summaryrefslogtreecommitdiffstats
path: root/dist/.tito/packages/.readme
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2021-03-01 15:32:51 +0000
committerGeir Storli <geirst@verizonmedia.com>2021-03-01 16:04:51 +0000
commitf0028b3f478cbea1e5383cf86f610c08f6ba2c96 (patch)
treeb2724700d593e9d6081756cafd2c4c930486282d /dist/.tito/packages/.readme
parent0165a17314823be279f368f63431790c50f3ca2e (diff)
Take dead elements into account (and subtract them) when calculating how many arrays to allocate in a datastore buffer.
This avoids a problem were allocated memory can accumulate over time in components using an ArrayStore. If all documents in an array attribute vector changes from one value class to another, all elements in the buffers of the previous value class are marked dead. Those buffers will eventually be compacted. Without this fix the wanted size of the resulting compacted buffer is calculated too high, and we allocate memory we are not going to use. If we move to yet another value class later, the same problem occurs again and more memory is allocated.
Diffstat (limited to 'dist/.tito/packages/.readme')
0 files changed, 0 insertions, 0 deletions