Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 Jaro little optimization

open
nobody
None
5
2011-03-16
2011-03-16
paul
No

Hi, great job, it is very useful for my work.

I am looking for better efficiency and there is a quick optimization of Jaro (about 20% faster), it simply consists in converting String to byte[] before calculating common characters, the getChar() method is slow...

He is the patch.
Best,
Paul

Discussion

  • paul
    paul
    2011-03-16

    replaces StringBuffer by byte[]

     
    Attachments