about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2015-05-03 14:02:25 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2015-05-03 14:08:30 +0200
commitf4176b52d3817b93570a73e2768736276d76ebf5 (patch)
tree5a8603ba1ca1daa77203d10f42522dc26a8eb6a2 /src/rustllvm/ExecutionEngineWrapper.cpp
parent0d7d3ec9d2b314af0188a820c58fbd95ee905793 (diff)
downloadrust-f4176b52d3817b93570a73e2768736276d76ebf5.tar.gz
rust-f4176b52d3817b93570a73e2768736276d76ebf5.zip
Restore HashMap performance by allowing some functions to be inlined
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.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions