jeffgan96 opened a new issue, #12193:
URL: https://github.com/apache/lucene/issues/12193

   ### Description
   
   Currently, FieldInfo attributes map only stores PerFieldDocValuesFormat and 
PerFieldPostingsFormat. It is much costlier to read/write from this map 
multiple times as compared to if we simply extract them out as variables in the 
class instead.
   
   Context: We have a use case where there are frequent refreshes and merges 
and we have seen many times in hot-threads read/write to FieldInfo#attributes. 
Since there are no other additions to this map apart from these 2, it would be 
better to just store them individually instead of using a map.


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