tdb2: minor optimization for set_header
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 15 Nov 2010 07:19:11 +0000 (17:49 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 15 Nov 2010 07:19:11 +0000 (17:49 +1030)
commit8afb9681b3be7149cf8913a5aefe915194fd20f7
treebe93b5264e7ab33210ac8e467a242c5ca70305d1
parent590eee6faf0d56ac4e7b60a51817d655bb3310cb
tdb2: minor optimization for set_header

We actually only need the bottom 5 bits of the hash value, so don't waste
8 bytes passing it.
ccan/tdb2/free.c
ccan/tdb2/private.h