[ https://issues.apache.org/jira/browse/LUCENE-6630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14604864#comment-14604864 ]
Robert Muir commented on LUCENE-6630: ------------------------------------- {quote} Maybe we should always just be sparse, unless it's complete dense? {quote} -1 Don't even think about it. When I said I wouldn't let abuse cases hurt real use cases, did you think I was joking? I'm not going to let real users have shitty performance here. > Further improve memory of FieldInfos > ------------------------------------ > > Key: LUCENE-6630 > URL: https://issues.apache.org/jira/browse/LUCENE-6630 > Project: Lucene - Core > Issue Type: Bug > Reporter: Ryan Ernst > Attachments: LUCENE-6630.patch > > > In LUCENE-6325, FieldInfos were improved to use an array except in very > sparse cases. In the sparse cases, a TreeMap is still used. However, even in > the sparse case, we can still use an array, and then use binary search. The > perf will be equivalent, but memory use should be much less. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org