Permalink
Browse files

Merge pull request #145 from lizmat/fastermoduleload

A temporary fix for faster module loading
  • Loading branch information...
2 parents cd5ca7c + af2b6ce commit 0020ef749f43201b5ab48b050a70b47df5d6a564 @lizmat lizmat committed Jun 2, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/Perl6/ModuleLoader.nqp
@@ -96,18 +96,21 @@ class Perl6::ModuleLoader {
%cand<load> := "$prefix/$pbc_path";
}
@candidates.push(%cand);
++last; # temporary, until we actually don't do just @candidates[0]
}
elsif $have_pir {
my %cand;
%cand<key> := "$prefix/$pir_path";
%cand<load> := "$prefix/$pir_path";
@candidates.push(%cand);
++last; # temporary, until we actually don't do just @candidates[0]
}
elsif $have_pbc {
my %cand;
%cand<key> := "$prefix/$pbc_path";
%cand<load> := "$prefix/$pbc_path";
@candidates.push(%cand);
++last; # temporary, until we actually don't do just @candidates[0]
}
}
}

0 comments on commit 0020ef7

Please sign in to comment.