Skip to content
Permalink
Browse files

De-BEGIN-ify $*PERL

Fixes R#2433 [^1], but does not address the comments on the ticket
about possibly reaping at least partial perf benefits by BEGINifying
Version creation at last.

[1] #2433
  • Loading branch information...
zoffixznet committed Oct 27, 2018
1 parent 1c1df2b commit c9ecfb7ae546d3eb65b7a01ee199f4a539cc9e8b
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/core/core_epilogue.pm6
@@ -24,9 +24,10 @@ BEGIN {
}

{
my $perl := BEGIN Perl.new;
# XXX TODO: https://github.com/rakudo/rakudo/issues/2433
# my $perl := BEGIN Perl.new;
Rakudo::Internals.REGISTER-DYNAMIC: '$*PERL', {
PROCESS::<$PERL> := $perl;
PROCESS::<$PERL> := Perl.new;
}
}

0 comments on commit c9ecfb7

Please sign in to comment.
You can’t perform that action at this time.