Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

similar_text problem

Too much processing power with long strings comparison



10:49 pm on May 8, 2005 (gmt 0)

10+ Year Member

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?



9:59 am on May 9, 2005 (gmt 0)

10+ Year Member

no one?


10:25 am on May 9, 2005 (gmt 0)

10+ Year Member

Check out this link: [dev.mysql.com...]

Featured Threads

Hot Threads This Week

Hot Threads This Month