Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Think about Loose Coupling
 
PerlMonks  

Re: A better way to make the script run faster?

by sundialsvc4 (Monsignor)
on Aug 01, 2013 at 00:58 UTC ( #1047335=note: print w/ replies, xml ) Need Help??


in reply to A better way to make the script run faster?

Naturally, another possibility is to use SQL tables (or an SQLite file).   If you have entries in table-A that represent search-keys, and you want to know how many records (if any...) exist in table-B for each one of those keys, then a very simple LEFT OUTER JOIN query with a GROUP BY clause will produce the answer, all at once, with no programming involved, Perl or otherwise.   Is that a useful possibility here?


Comment on Re: A better way to make the script run faster?
Re^2: A better way to make the script run faster?
by BrowserUk (Pope) on Aug 01, 2013 at 01:35 UTC
    will produce the answer, all at once, with no programming involved, Perl or otherwise.

    Utter baloney! Which if you'd ever tried it, or anything like it, you'd know.

    Is that a useful possibility here?

    Will this make his script go faster per his requirement? Of course not!


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1047335]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2014-04-21 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (489 votes), past polls