homepage Welcome to WebmasterWorld Guest from 54.167.173.250
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
similar_text problem
Too much processing power with long strings comparison
robster124




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

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?

Thanks

 

robster124




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

no one?

kazecoder




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved