Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: How can I find the index of the biggest element in an array?

by reisinge (Hermit)
on Mar 15, 2017 at 11:22 UTC ( [id://1184679]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How can I find the index of the biggest element in an array?
in thread How can I find the index of the biggest element in an array?

Thanks Mario! Yeah, my solution doesn't scale well at all:

# Your benchmark script Index 234638, Seconds (reisinge ): 1.919 Index 234638, Seconds (GrandFather): 0.073 Index 234638, Seconds (biggest_elm): 0.072 # Your benchmark script =~ s/1\.\.4e5/1..4e6/; Index 3167631, Seconds (reisinge ): 33.464 Index 3167631, Seconds (GrandFather): 0.876 Index 3167631, Seconds (biggest_elm): 0.775
As a system administrator, automating the work that needs to be done should be the majority of your job. --PSNA2

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-28 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found