Message ID | f7503d644c2baa9f5b8a71c998741f8232385508.1572996692.git.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Other doc fixes | expand |
"Elijah Newren via GitGitGadget" <gitgitgadget@gmail.com> writes: > From: Elijah Newren <newren@gmail.com> > > Signed-off-by: Elijah Newren <newren@gmail.com> > --- > name-hash.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/name-hash.c b/name-hash.c > index ceb1d7bd6f..4885bae5da 100644 > --- a/name-hash.c > +++ b/name-hash.c > @@ -218,7 +218,7 @@ static int lookup_lazy_params(struct index_state *istate) > * However, the hashmap is going to put items into bucket > * chains based on their hash values. Use that to create n > * mutexes and lock on mutex[bucket(hash) % n]. This will > - * decrease the collision rate by (hopefully) by a factor of n. > + * decrease the collision rate by (hopefully) a factor of n. > */ > static void init_dir_mutex(void) > { Thanks. Will queue all 3.
diff --git a/name-hash.c b/name-hash.c index ceb1d7bd6f..4885bae5da 100644 --- a/name-hash.c +++ b/name-hash.c @@ -218,7 +218,7 @@ static int lookup_lazy_params(struct index_state *istate) * However, the hashmap is going to put items into bucket * chains based on their hash values. Use that to create n * mutexes and lock on mutex[bucket(hash) % n]. This will - * decrease the collision rate by (hopefully) by a factor of n. + * decrease the collision rate by (hopefully) a factor of n. */ static void init_dir_mutex(void) {