about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/noop_method_call.rs
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2022-01-10 12:24:20 -0800
committerNoah Lev <camelidcamel@gmail.com>2022-01-14 12:05:35 -0800
commitcef250d90bbf65af7ec3c8ff5865eaa12a5f4a21 (patch)
tree07ddf96ae0eddba69edd12a7b4945684a076db8f /compiler/rustc_lint/src/noop_method_call.rs
parent8f59eb6da014cb146c1477ab0ddf35729c88e99f (diff)
downloadrust-cef250d90bbf65af7ec3c8ff5865eaa12a5f4a21.tar.gz
rust-cef250d90bbf65af7ec3c8ff5865eaa12a5f4a21.zip
Make `AVG_PART_LENGTH` a power of 2
I seem to recall that in general, it's best to request an allocation
with a size that's a power of 2. The low estimate of 5 was probably a
little too low as well.
Diffstat (limited to 'compiler/rustc_lint/src/noop_method_call.rs')
0 files changed, 0 insertions, 0 deletions