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

   I think the idea w/Dictionary is that callers, instead of calling 
`copy().vectorValue(int ord)` would call `dictionary().vectorValue(int ord)`. 
So then the scratch vector storage (if needed) would be in the Dictionary not 
in the VectorValues, and thus not shared by multiple users of the same values 
instance.  In some sense it's not very different, but in the sense that the 
Dictionary has a much more limited API than the source it came from, it is 
different.


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