gsmiller opened a new pull request, #12305:
URL: https://github.com/apache/lucene/pull/12305

   ### Description
   
   This proposes some minor cleanup and improvements to 
`DaciukMihovAutomatonBuilder` I came across while starting to explore #12176 
(exploring the idea of allowing this algorithm to directly build binary 
automata). I thought it would be good to independently ship these minor 
cleanups:
   1. A few methods can be made `private` instead of `public`. Since the ctor 
is private, and there's no way to actually get an instance reference 
externally, there's no need for instance-level public methods.
   2. We can be slightly more efficient when adding terms by "remembering" the 
code point for each character.


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