Skip to content
Permalink
Browse files

Bind constant list rather than assigning

Makes initialization a bit faster and with fewer allocations.
  • Loading branch information...
lizmat committed Nov 11, 2018
1 parent 98d07cf commit bf3575cca3bc5fc59de3e5963706dfa37a0f19ff
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/CompUnit/Repository/FileSystem.pm6
@@ -6,7 +6,7 @@ class CompUnit::Repository::FileSystem does CompUnit::Repository::Locally does C
has $!precomp-stores;
has $!precomp-store;

my @extensions = <pm6 pm>;
my @extensions := <pm6 pm>;
my $extensions := nqp::hash('pm6',1,'pm',1);

# global cache of files seen

0 comments on commit bf3575c

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