]> git.ozlabs.org Git - ccan/blobdiff - ccan/htable/tools/stringspeed.c
htable: benchmark against hsearch(3)
[ccan] / ccan / htable / tools / stringspeed.c
index 2bc1524ea09d040b8786b14f0c37ea8f64079eec..53ac4da650a377a0f0b27e8f74f83b2828664ac0 100644 (file)
@@ -59,6 +59,7 @@ int main(int argc, char *argv[])
                                         NULL), "\n");
        htable_str_init(&ht);
        num = talloc_array_length(words) - 1;
+       /* Note that on my system, num is just > 98304, where we double! */
        printf("%zu words\n", num);
 
        /* Append and prepend last char for miss testing. */