lib/ccan/htable: benchmark against hsearch(3)
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 5 Dec 2011 06:12:49 +0000 (16:42 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 5 Dec 2011 06:12:49 +0000 (16:42 +1030)
commit18cd3dd2add0420d57118ccf58b28a48d9d68018
tree8c487c348f9e8a213a501a86809c03547f53debc
parent5917d979911b024714d2d3a7b64255bffa37ec60
lib/ccan/htable: benchmark against hsearch(3)

Since that has a fixed hash table size and doesn't support delete, we can't
do a thorough comparison, but we can insert and search.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit 95757f0e9d979e7c653e9b53bb640deb4f0ea1f9)
lib/ccan/htable/tools/Makefile
lib/ccan/htable/tools/hsearchspeed.c [new file with mode: 0644]
lib/ccan/htable/tools/stringspeed.c