projects
/
ccan
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
htable: push capacity limit from 66 to 75%
[ccan]
/
ccan
/
htable
/
tools
/
speed.c
diff --git
a/ccan/htable/tools/speed.c
b/ccan/htable/tools/speed.c
index 72a08e6b4cd1e253b14436e644d5ab5d5608739f..26231924a1f68b33cfe244b21981d0cb4ca5ebe2 100644
(file)
--- a/
ccan/htable/tools/speed.c
+++ b/
ccan/htable/tools/speed.c
@@
-330,7
+330,7
@@
int main(int argc, char *argv[])
fflush(stdout);
gettimeofday(&start, NULL);
for (i = 0; i < num; i++) {
- unsigned int n = num *
6
+ i * 9;
+ unsigned int n = num *
(5 + 9)
+ i * 9;
if (htable_obj_get(ht, &n))
abort();
}