Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Speed up pseudostash lookup slightly
  • Loading branch information
lizmat committed Feb 16, 2016
1 parent 4cd2875 commit ad63cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/PseudoStash.pm
Expand Up @@ -156,7 +156,7 @@ my class PseudoStash is Map {
multi method AT-KEY(PseudoStash:D: Str() $key) is raw {
my Mu $nkey := nqp::unbox_s($key);
if %pseudoers.EXISTS-KEY($key) {
%pseudoers{$key}(self)
%pseudoers.AT-KEY($key)(self)
}
elsif nqp::bitand_i($!mode, PRECISE_SCOPE) {
my Mu $store := nqp::getattr(self, Map, '$!storage');
Expand Down

0 comments on commit ad63cd0

Please sign in to comment.