Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Performance debugging tweak
  • Loading branch information
lizmat committed May 16, 2014
1 parent 2e87d47 commit 6a81129
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Perl6/ModuleLoader.nqp
Expand Up @@ -105,8 +105,10 @@ class Perl6::ModuleLoader does Perl6::ModuleLoaderVMConfig {
unless nqp::ishash(%chosen) {
%chosen := %chosen.FLATTENABLE_HASH();
}
for %chosen {
say($_.key ~ ' => ' ~ $_.value) if $DEBUG;
if $DEBUG {
for %chosen {
say($_.key ~ ' => ' ~ $_.value);
}
}
# If we didn't already do so, load the module and capture
# its mainline. Otherwise, we already loaded it so go on
Expand Down

0 comments on commit 6a81129

Please sign in to comment.