]> git.ozlabs.org Git - ccan/commitdiff
htable: restore perfect bit when resizing.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 8 Nov 2010 05:54:31 +0000 (16:24 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 8 Nov 2010 05:54:31 +0000 (16:24 +1030)
If the lower bit differs between pointers, we can lose our "perfect"
bit.  Since we're rehashing the entire thing anyway, we can pick
another bit when we double the hash table.


No differences found