X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fintmap%2Fbenchmark%2Fspeed.c;h=e74b12aaaaa777380bc8707d149cc9bc67203608;hp=7f59af29d93e4a96c69b27dc9812a30cc2fb99e9;hb=e59acd521d11c1f392264762d79195fd6cc2b992;hpb=82229812012a9cc9a4876b9542f5539ec99ece46 diff --git a/ccan/intmap/benchmark/speed.c b/ccan/intmap/benchmark/speed.c index 7f59af29..e74b12aa 100644 --- a/ccan/intmap/benchmark/speed.c +++ b/ccan/intmap/benchmark/speed.c @@ -13,8 +13,8 @@ struct node { /* These point to strings or nodes. */ struct intmap child[2]; - /* The bit where these children differ (0 == lsb) */ - uint8_t bit_num; + /* Encoding both prefix and critbit: 1 is appended to prefix. */ + intmap_index_t prefix_and_critbit; }; static void update_span(const void *p, size_t s, uintptr_t *min, uintptr_t *max)