Re: [PHP] Optimizing PHP Relevancy Ranking Algorithm

2003-12-01 Thread Raditha Dissanayake
What david says + you have a nested loop, that means the running time is propotional to the square of the number of inputs. - I haven't looked too hard either. David Otton wrote: On Fri, 28 Nov 2003 03:26:08 -0800, you wrote: Anybody got a few ideas on how to speed up these two sluggish li

Re: [PHP] Optimizing PHP Relevancy Ranking Algorithm

2003-11-28 Thread David Otton
On Fri, 28 Nov 2003 03:26:08 -0800, you wrote: >Anybody got a few ideas on how to speed up these two sluggish lines of >code? I'm pretty much out of ideas. And if you have any other >suggestions to speed things up, I would really appreciate them too. I know nothing about your application, and I

[PHP] Optimizing PHP Relevancy Ranking Algorithm

2003-11-28 Thread Galen
I've developed some search result ranking code and it works extremely well in terms of relevancy but needs use some help with performance. I'm already using zend optimizer and I've done some basic things to clean up the code. This helps performance quite a bit by itself, but that's not enough,