Tim-Brooks opened a new pull request, #16147:
URL: https://github.com/apache/lucene/pull/16147

   When processing a column batch, the parent field previously wrote each
   document's value individually via a per-document loop over addValue(),
   which incurred N packed-buffer appends, N bit-set updates, and N atomic
   counter increments for updateBytesUsed().
   
   Add PackedLongValues.Builder.add(long value, int count) to fill a run of
   identical values in bulk using Arrays.fill(). Add
   NumericDocValuesWriter.addRepeatValues(), which also batches the
   DocsWithFieldSet range and collapses updateBytesUsed() single call.
   
   Replace the parent-field loop in IndexingChain with a call to
   addRepeatValues().


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to