Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I think 10% speed gain is seriously faster. And I started with the fact that there indeed still is a long way to go.

When I started in October 2014 with CSV parsing in perl6, my first working copy took a whopping 256 seconds. From there to 3.5 is quite a thing and makes me hope it will eventually go down to 0.35, which is comparable to pure-perl implementations of CSV parsers.

The fastest perl5 parser has no options whatsoever. No options means less if statements and more efficient loops. The perl6 parser has all the options Text::CSV_XS supports, and thus includes all the code paths, if statements and other constructs to support those features. If perl6 will be able to optimize next and last to end a loop other that through an exception, I expect this process to see a speed-up by factors instead of by percentages.

I understand your stance towards perl6 not being ready for serious production when looking at speed, but if you also look at what the language offers, you might conclude that once you master the basic constructs, development-time in perl6 weighs up to solving problems in other languages. Writing scripts for complex tasks that do not depend on speed, but require serious thought in other languages, just write themselves in perl6. To me at least, it brought new insights in how I could be able to solve problems.


Enjoy, Have FUN! H.Merijn

In reply to Re^2: [Perl6] just got seriously faster by Tux
in thread [Perl6] just got seriously faster by Tux

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others wandering the Monastery: (5)
    As of 2017-10-22 13:57 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      My fridge is mostly full of:

















      Results (273 votes). Check out past polls.

      Notices?