Perl string concat vs. multiplication benchmark

Someone wanted me to test if it work to speed up the multiplication by 10 to add the string ‘0’ to the end:

Our result:

It was not a very good idea because its very slow …. better use the normal way.

2 thoughts on “Perl string concat vs. multiplication benchmark”

  1. After checking out a handful of the blog articles
    on your website, I seriously appreciate your way of writing a blog.

    I saved as a favorite it to my bookmark site list and will be checking
    back in the near future. Please visit my website too and let me know your
    opinion.

    View Comment
  2. Thanks a bunch for sharing this with all of us you really know what you’re
    speaking about! Bookmarked. Kindly additionally discuss with my site
    =). We could have a hyperlink alternate agreement between us

    View Comment

Leave a Reply

Your email address will not be published.

3 × two =