mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-30 20:06:56 -05:00
New experimental MuseAir hash
This commit is contained in:
parent
cc2bdad335
commit
f6cf240b97
7 changed files with 445 additions and 0 deletions
|
|
@ -216,6 +216,7 @@ void speed(int period, int nd, int size)
|
|||
printf("%8s", "murmur3");
|
||||
printf("%8s", "spooky2");
|
||||
printf("%8s", "metro");
|
||||
printf("%8s", "museair");
|
||||
printf("\n");
|
||||
|
||||
printf("%8s", "hash");
|
||||
|
|
@ -243,6 +244,14 @@ void speed(int period, int nd, int size)
|
|||
memhash(HASH_METRO, seed, digest, v[j], size);
|
||||
} SPEED_STOP
|
||||
|
||||
printf("%8" PRIu64, ds / dt);
|
||||
fflush(stdout);
|
||||
|
||||
SPEED_START {
|
||||
for (j = 0; j < nd; ++j)
|
||||
memhash(HASH_MUSEAIR, seed, digest, v[j], size);
|
||||
} SPEED_STOP
|
||||
|
||||
printf("%8" PRIu64, ds / dt);
|
||||
printf("\n");
|
||||
printf("\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue