Tim-Brooks opened a new pull request, #16118: URL: https://github.com/apache/lucene/pull/16118
The schema-validation pass in processBatch already resolves a PerField for every column via getOrAddPerField. The row-oriented and column-oriented passes were each re-resolving the same PerField by name, costing two extra hash lookups per column per batch. Cache the validated PerField into docFields[] keyed by the column's original position, and have both downstream passes read from that cache. processRowColumns now keeps a local int[] rowPfIndices mapping row-mode slots back to their original column position, so the inner loop can index docFields[] directly. docFields is grown in the validation pass instead of inside processRowColumns. -- 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]
