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

   > [the last 
commit](https://github.com/apache/lucene/pull/13872/commits/ef13bade9b3ab8eb5de35e7297a9468ec45fc745)
 demonstrates re-using the resource-intensive bits (RandomVectorScorer and 
Floats) for the floarting point case. It brings back heap allocations to be 
similar to what we see on main.
   
   Ok, this is great - we correctly understand where the allocation was coming 
from and have a way to avoid it. 
   
   I'm still not sure that this refactor is better than the model that we have 
today. And the need to make the scorer closable kinda hints towards that. ( I'm 
not against the fact that the scorer is closable, just that it adds little 
value to the API and is not enforced - we don't want to enforce it's closed 
status )


-- 
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