bruno-roustant commented on code in PR #13327: URL: https://github.com/apache/lucene/pull/13327#discussion_r1585064742
########## lucene/core/src/java/org/apache/lucene/codecs/lucene90/blocktree/Lucene90BlockTreeTermsReader.java: ########## @@ -113,7 +114,8 @@ public final class Lucene90BlockTreeTermsReader extends FieldsProducer { // produce DocsEnum on demand final PostingsReaderBase postingsReader; - private final Map<String, FieldReader> fieldMap; + private final FieldInfos fieldInfos; + private final IntObjectHashMap<FieldReader> fieldMap; Review Comment: Actually there are many usages of Map<Integer, Object>. I could open some PRs when memory (and perf) matters after IntObjectHashMap is in. -- 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