about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-10-15 14:21:55 +0800
committerGitHub <noreply@github.com>2017-10-15 14:21:55 +0800
commit5e8d407c313e9c84156ca05ec79703d5f388e113 (patch)
tree794cac2e247bb8513b680e0c248a407931f87246 /src/test/run-pass/thinlto
parent34a286bf9075f944f5d581e66f7d362d104a4959 (diff)
parente8e7715bebdd401ebacfabb66928d0f7e4733120 (diff)
downloadrust-5e8d407c313e9c84156ca05ec79703d5f388e113.tar.gz
rust-5e8d407c313e9c84156ca05ec79703d5f388e113.zip
Rollup merge of #45263 - Manishearth:hashmap-clean, r=bluss
Do some cleanups for hashmaps

@mystor noticed some things whilst reading through the hashmap RawTable code.

Firstly, in RawTable we deal with this hash_offset value that is the offset of the list of hashes from the buffer start. This is always zero, and this isn't consistently used (which means that we would have bugs if we set it to something else). We should just remove this since it doesn't help us at all.

Secondly, the probing length tag is not copied when cloning a raw table. This is minor and basically means we do a bit more work than we need on further inserts on a cloned hashmap.

r? @Gankro
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions