Hi Ronald. I think you read too much into my speed comment. The spirit of that sentence was to underscore that the Perl 6 code actually executed and finished, as opposed to what the Perl 5 equivalent did. I’m sorry if you thought this was a complaint, because it was meant to be the opposite.

For what it’s worth, I know about a few of the adjustments that can be done to speed up Perl 6 code. But sometimes you just want to do what feels intuitive.

I don’t mind doing optimizations. But sometimes, out of habit I quess, I’ll program Perl 6 code more or less like I’d program the same thing in Perl 5. Now and again those code snippets come with a performance penalty, where the solution seems to be to un-perl Perl6 somewhat. And that does _not_ feel intuitive.

But in this particular case my comment was, as I said, meant to be a positive nod to Perl 6: The Perl 5 code never finished but crashed; Perl 6, OTOH, finished. That’s a win for Perl 6 :-)

    Jo Christian Oterhals

    Written by

    Norwegian with many interests. Programming being one of them.