]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #25070 - dotdash:inline_hash, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 3 May 2015 20:55:59 +0000 (20:55 +0000)
committerbors <bors@rust-lang.org>
Sun, 3 May 2015 20:55:59 +0000 (20:55 +0000)
Since the hashmap and its hasher are implemented in different crates, we
currently can't benefit from inlining, which means that especially for
small, fixed size keys, there is a huge overhead in hash calculations,
because the compiler can't apply optimizations that only apply for these
keys.

Fixes the brainfuck benchmark in #24014.


Trivial merge