aboutsummaryrefslogtreecommitdiffstats
path: root/src/ckh.c
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2014-12-08 14:40:14 -0800
committerJason Evans <je@fb.com>2014-12-08 16:34:04 -0800
commite12eaf93dca308a426c182956197b0eeb5f2cff3 (patch)
tree3b0ab8f083abdfcd145b16d092f3d50d1b6df373 /src/ckh.c
parent59cd80e6c6e36c26a880e86f6cde9f71808b256c (diff)
downloadplatform_external_jemalloc_new-e12eaf93dca308a426c182956197b0eeb5f2cff3.tar.gz
platform_external_jemalloc_new-e12eaf93dca308a426c182956197b0eeb5f2cff3.tar.bz2
platform_external_jemalloc_new-e12eaf93dca308a426c182956197b0eeb5f2cff3.zip
Style and spelling fixes.
Diffstat (limited to 'src/ckh.c')
-rw-r--r--src/ckh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ckh.c b/src/ckh.c
index 3a545966..db2ae392 100644
--- a/src/ckh.c
+++ b/src/ckh.c
@@ -367,10 +367,10 @@ ckh_new(tsd_t *tsd, ckh_t *ckh, size_t minitems, ckh_hash_t *hash,
ckh->count = 0;
/*
- * Find the minimum power of 2 that is large enough to fit aBaseCount
+ * Find the minimum power of 2 that is large enough to fit minitems
* entries. We are using (2+,2) cuckoo hashing, which has an expected
* maximum load factor of at least ~0.86, so 0.75 is a conservative load
- * factor that will typically allow 2^aLgMinItems to fit without ever
+ * factor that will typically allow mincells items to fit without ever
* growing the table.
*/
assert(LG_CKH_BUCKET_CELLS > 0);