Re: [PR] Replace Map by primitive IntObjectHashMap. [lucene]

2024-05-18 Thread via GitHub
bruno-roustant merged PR #13368: URL: https://github.com/apache/lucene/pull/13368 -- 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...@luc

Re: [PR] Replace Map by primitive IntObjectHashMap. [lucene]

2024-05-14 Thread via GitHub
bruno-roustant commented on code in PR #13368: URL: https://github.com/apache/lucene/pull/13368#discussion_r1600171257 ## lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/SuggestibleEntryCache.java: ## @@ -48,22 +45,33 @@ private SuggestibleEntryCache(Map bui

[PR] Replace Map by primitive IntObjectHashMap. [lucene]

2024-05-14 Thread via GitHub
bruno-roustant opened a new pull request, #13368: URL: https://github.com/apache/lucene/pull/13368 Also replace some Map by IntIntHashMap, if they don't rely on null value. The goal is to gain globally some memory, maybe some perf on some spots that call the map intensively, with a r