Perl remove double entries in array Benchmark

Today I Benchmark two solution to remove all double entries from an array in Perl:

We see the second function is 18% faster than the other one:

 

Now we have a good fast solution to remove the double entries from our array:

Our result:

7 thoughts on “Perl remove double entries in array Benchmark”

  1. You’ve made some good points there. I checked on the web for additional information about the issue and found most
    individuals will go along with your views on this website.

    View Comment
  2. Please let me know if you’re looking for a author for your site.
    You have some really great articles and I feel I would be
    a good asset. If you ever want to take some of the load off, I’d love to write
    some material for your blog in exchange for a link back to mine.
    Please shoot me an email if interested. Kudos!

    View Comment

Leave a Reply

Your email address will not be published.

2 + ten =