Commit b3a8f612 authored by erikcorry's avatar erikcorry Committed by Commit bot

Experiment with smaller minimum elements dictionary size

BUG=

Review URL: https://codereview.chromium.org/1094243004

Cr-Commit-Position: refs/heads/master@{#28007}
parent 157c64f5
......@@ -3246,7 +3246,7 @@ DescriptorArray::WhitenessWitness::~WhitenessWitness() {
int HashTableBase::ComputeCapacity(int at_least_space_for) {
const int kMinCapacity = 32;
const int kMinCapacity = 4;
int capacity = base::bits::RoundUpToPowerOfTwo32(at_least_space_for * 2);
if (capacity < kMinCapacity) {
capacity = kMinCapacity; // Guarantee min capacity.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment