donnerpeter commented on code in PR #12464:
URL: https://github.com/apache/lucene/pull/12464#discussion_r1276257435


##########
lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/Dictionary.java:
##########
@@ -1204,6 +1205,16 @@ char caseFold(char c) {
     }
   }
 
+  /**
+   * The factor determining the size of the internal hash table used for 
storing the entries. The
+   * table size is {@code entry_count * hashFactor}. The default factor is 
1.0. If there are too
+   * many hash collisions, the factor can be increased, resulting in faster 
access, but more memory
+   * usage.
+   */
+  protected static double hashFactor() {
+    return 1.0;

Review Comment:
   Ouch. Late night commits have some disadvantages :) Thanks for spotting!



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