CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced: Re: [bulrush] How to speed up search on array?: Edit Log



FishMonger
Veteran / Moderator

Aug 30, 2016, 10:47 AM


Views: 10907
Re: [bulrush] How to speed up search on array?

How did you determine that is the statement that needs to be optimized?

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)


Edit Log:
Post edited by FishMonger (Veteran) on Aug 30, 2016, 10:47 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives