X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=ccan%2Fhtable%2Ftools%2Fspeed.c;h=26231924a1f68b33cfe244b21981d0cb4ca5ebe2;hb=b30c544bd1486e7b60b99259e3d0dcbc1ec9efd0;hp=72a08e6b4cd1e253b14436e644d5ab5d5608739f;hpb=78e983a7a6e5250ebf963d5d93fe34c1d27d5a39;p=ccan diff --git a/ccan/htable/tools/speed.c b/ccan/htable/tools/speed.c index 72a08e6b..26231924 100644 --- 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(); }