mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 07:18:30 +00:00
Hunt down some small bugs
This commit is contained in:
parent
95b142e4e5
commit
830334d767
15 changed files with 1156 additions and 83 deletions
|
@ -20,7 +20,6 @@
|
|||
#include "libc/macros.h"
|
||||
#include "libc/nexgen32e/crc32.h"
|
||||
#include "libc/nexgen32e/x86feature.h"
|
||||
#include "libc/str/knuthmultiplicativehash.internal.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/testlib/ezbench.h"
|
||||
#include "libc/testlib/hyperion.h"
|
||||
|
@ -49,9 +48,3 @@ BENCH(crc32c, bench) {
|
|||
EZBENCH2("crc32c", donothing,
|
||||
EXPROPRIATE(crc32c(0, VEIL("r", TESTSTR), sizeof(TESTSTR) - 1)));
|
||||
}
|
||||
|
||||
BENCH(KnuthMultiplicativeHash32, bench) {
|
||||
EZBENCH2("KMP", donothing,
|
||||
EXPROPRIATE(KnuthMultiplicativeHash32(VEIL("r", TESTSTR),
|
||||
sizeof(TESTSTR) - 1)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue