lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Boston <>
Subject A Faster ISOLatin1AccentFilter
Date Sun, 29 Apr 2007 09:55:08 GMT

We've been using this filter in a project and found it a bit slow, so 
we've re-written it. In tests we did on a 5M string with no accents, we 
found the version in trunk to take ~200ms, this version takes about 
~12ms. If there are accents, then its not quite as good at about 60ms. 

Code is at

BTW, just replacing StringBuffer with StringBuilder got down to about 
80ms for both cases.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message