forked from rustyrussell/ccan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
htable: avoid branch in calculating perfect bit.
Final results of tools/speed/10000000 (10 runs) shows a slight slowdown in some tests, but it makes an empty htable smaller. -Initial delete all: 96-98(96.4+/-0.66) ns +Initial delete all: 97-99(98.2+/-0.75) ns -Initial re-inserting: 117-124(121.4+/-1.9) ns +Initial re-inserting: 124-131(126.4+/-2.4) ns -Adding (a different) half: 49-50(49.3+/-0.46) ns +Adding (a different) half: 50-52(51.2+/-0.75) ns Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information
1 parent
d615e53
commit 7623d08
Showing
1 changed file
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters