| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
Too much processing power with long strings comparison
I'm running a PHP script on my server which compares long strings (up to 40k each), so I'm using the similar_text command.
The problem is its just taking far too long for comparisons, sometimes up to 3 or 4 minutes for just a couple of comparisons.
I was just wondering if there are any more efficient comparison methods. I'm well aware of soundex, metaphone and levenshstein comparisons, all of which are far too innacurate.
I'm willing to consider the merits of other technology/software if it can speed up the whole process. Does MYSQL have any similarly accurate comparison functions?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved