Aug 30, 2016, 10:47 AM
How did you determine that is the statement that needs to be optimized?
Re: [bulrush] How to speed up search on array?
There's not much you can do to optimize that 1 statement. The bigger issue you should be looking at is the grepping of that array 3,000+ times. You should look into better ways to do that loop rather than focusing on that 1 grep statement.
Try the sql approach as a possibility.
(This post was edited by FishMonger on Aug 30, 2016, 10:47 AM)