One thing you can do, depending on your code, is to put most of your
code in subroutines, put them in a module, and 'use' it in your main
script.  The module gets precompiled the first time you execute the
program, and the overall program should be faster after the first go.

The 'zef' program does that to great effect

Best regards,

-Tom

#perl6 tbrowder
On Wed, Aug 1, 2018 at 1:14 PM ToddAndMargo <toddandma...@zoho.com> wrote:
>
> Hi All,
>
> Is it just me or does Perl 6 take about three times as long to
> start up as Perl 5?  I do have a very fast machine and it takes
> about seven see for some of my Perl 6 stuff to get past the
> ruminating phase and start running.
>
> Any workaround for this, or is this just growing pains for Perl 6?
>
> Many thanks,
> -T

Reply via email to