msokolov commented on PR #13872:
URL: https://github.com/apache/lucene/pull/13872#issuecomment-2437836935

   Yes, OK I now see quite a bit of this is a "preexisting condition" and maybe 
not exacerbated by this change. We are still creating more scratch arrays than 
we did before though, I think, because previously we would `copy()` the 
VectorValues in a caller, and allocate a new scratch array there, whereas now 
since we have pushed down the "create new scratch array" into the Scorer 
creation, and this happens many more times than we would previously have copied 
the VectorValues, we are creating and destroying many more of these scratch 
arrays. Maybe this is acceptable and we can iterate in a futher cleanup? Let me 
try a few more benchmarking runs and be a little clearer about the impact on 
query and indexing times. I'd like to also report allocations, but not sure how 
to do that w/luceneutil


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to