]> git.lizzy.rs Git - rust.git/commit
Auto merge of #38022 - arthurprs:micro-opt-hm, r=bluss
authorbors <bors@rust-lang.org>
Sun, 27 Nov 2016 23:06:58 +0000 (17:06 -0600)
committerGitHub <noreply@github.com>
Sun, 27 Nov 2016 23:06:58 +0000 (17:06 -0600)
commit03bdaade2a0c39118a5be927c667776a5de0d681
tree132ab6db18a9ecfb2ec973731d3d3f73c028d9d6
parent9ca50bd4d50b55456e88a8c3ad8fcc9798f57522
parent178e29df7d2927641ddbadaaa92e1f1c17fa5c92
Auto merge of #38022 - arthurprs:micro-opt-hm, r=bluss

Use displacement instead of initial bucket in HashMap code

Use displacement instead of initial bucket in HashMap code. It makes the code a bit cleaner and also saves a few instructions (handy since it'll be using some to do some sort of adaptive behavior soon).