On Fri, 30 Jan 2009, eks dev wrote:
I have used them for speeding up huge switch clauses in charset normalization (eg lowercase and accent->plain form mapping). Big number of accented characters (this causes big switch statement) that appear seldom in corpus (big majority being not accented). If negative test, you do just simple array access, if positive do full work with hige switch statement.
Interesting, this could be used with the fix to LUCENE-1390 then ? Andi.. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org