Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: how can I speed up this perl??

by Abigail-II (Bishop)
on Nov 24, 2003 at 21:59 UTC ( [id://309712]=note: print w/replies, xml ) Need Help??


in reply to Re: how can I speed up this perl??
in thread how can I speed up this perl??

Well, we were not given the loop, but if $i increments by one, that is, it counts overlapping pairs, your solution is not equivalent, as it doesn't count overlapping pairs.

Abigail

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-25 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found