Skip to content
Browse files

Make Hash.STORE a multi

Part of a cunning plan to generally speed up metaops on Associatives
and QuantHashes, but this requires the .STORE to be a multi.  Changed
in a separate commit for bisectability and performance checks.
  • Loading branch information...
lizmat committed Nov 14, 2018
1 parent 8fa7268 commit 80edefcfb3fef41b9860a2fdbc2e9b87b79e69d0
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/core/Hash.pm6
@@ -71,7 +71,9 @@ my class Hash { # declared in BOOTSTRAP
method STORE(Hash:D: \to_store) {

proto method STORE(|) {*}
multi method STORE(Hash:D: \to_store) {
my $temp := nqp::p6bindattrinvres(
nqp::clone(self), # make sure we get a possible descriptor as well

0 comments on commit 80edefc

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