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
In Section
Seekers of Perl Wisdom