forked from rurban/smhasher
-
Notifications
You must be signed in to change notification settings - Fork 10
/
FNV2
1577 lines (1413 loc) · 113 KB
/
FNV2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-------------------------------------------------------------------------------
--- Testing FNV2 "wordwise FNV" POOR
[[[ Sanity Tests ]]]
Verification value 0x1967C625 ....... PASS
Running sanity check 1 .......... PASS
Running AppendedZeroesTest .......... PASS
[[[ Speed Tests ]]]
Bulk speed test - 262144-byte keys
Alignment 7 - 2.184 bytes/cycle - 6248.61 MiB/sec @ 3 ghz
Alignment 6 - 2.184 bytes/cycle - 6248.62 MiB/sec @ 3 ghz
Alignment 5 - 2.184 bytes/cycle - 6248.56 MiB/sec @ 3 ghz
Alignment 4 - 2.184 bytes/cycle - 6248.60 MiB/sec @ 3 ghz
Alignment 3 - 2.184 bytes/cycle - 6248.62 MiB/sec @ 3 ghz
Alignment 2 - 2.164 bytes/cycle - 6191.75 MiB/sec @ 3 ghz
Alignment 1 - 2.184 bytes/cycle - 6248.61 MiB/sec @ 3 ghz
Alignment 0 - 2.192 bytes/cycle - 6270.67 MiB/sec @ 3 ghz
Average - 2.183 bytes/cycle - 6244.26 MiB/sec @ 3 ghz
Small key speed test - 1-byte keys - 15.00 cycles/hash
Small key speed test - 2-byte keys - 19.00 cycles/hash
Small key speed test - 3-byte keys - 22.30 cycles/hash
Small key speed test - 4-byte keys - 26.32 cycles/hash
Small key speed test - 5-byte keys - 30.30 cycles/hash
Small key speed test - 6-byte keys - 33.00 cycles/hash
Small key speed test - 7-byte keys - 37.33 cycles/hash
Small key speed test - 8-byte keys - 26.00 cycles/hash
Small key speed test - 9-byte keys - 29.29 cycles/hash
Small key speed test - 10-byte keys - 32.00 cycles/hash
Small key speed test - 11-byte keys - 36.00 cycles/hash
Small key speed test - 12-byte keys - 40.31 cycles/hash
Small key speed test - 13-byte keys - 43.67 cycles/hash
Small key speed test - 14-byte keys - 47.33 cycles/hash
Small key speed test - 15-byte keys - 50.67 cycles/hash
Small key speed test - 16-byte keys - 30.28 cycles/hash
Small key speed test - 17-byte keys - 32.32 cycles/hash
Small key speed test - 18-byte keys - 36.32 cycles/hash
Small key speed test - 19-byte keys - 40.22 cycles/hash
Small key speed test - 20-byte keys - 43.65 cycles/hash
Small key speed test - 21-byte keys - 47.31 cycles/hash
Small key speed test - 22-byte keys - 50.00 cycles/hash
Small key speed test - 23-byte keys - 54.00 cycles/hash
Small key speed test - 24-byte keys - 33.29 cycles/hash
Small key speed test - 25-byte keys - 36.00 cycles/hash
Small key speed test - 26-byte keys - 39.93 cycles/hash
Small key speed test - 27-byte keys - 43.00 cycles/hash
Small key speed test - 28-byte keys - 47.34 cycles/hash
Small key speed test - 29-byte keys - 50.66 cycles/hash
Small key speed test - 30-byte keys - 54.68 cycles/hash
Small key speed test - 31-byte keys - 58.25 cycles/hash
Average 38.251 cycles/hash
[[[ 'Hashmap' Speed Tests (when inlined) ]]]
std::unordered_map
Init std HashMapTest: 463.853 cycles/op (102401 inserts, 1% deletions)
Running std HashMapTest: 287.857 cycles/op (6.5 stdv)
greg7mdp/parallel-hashmap
Init fast HashMapTest: 291.424 cycles/op (102401 inserts, 1% deletions)
Running fast HashMapTest: 157.379 cycles/op (3.5 stdv) ....... PASS
[[[ Avalanche Tests ]]]
Testing 24-bit keys -> 64-bit hashes, 300000 reps worst bias is 100.000000% !!!!!
Testing 32-bit keys -> 64-bit hashes, 300000 reps worst bias is 100.000000% !!!!!
Testing 40-bit keys -> 64-bit hashes, 300000 reps worst bias is 100.000000% !!!!!
Testing 48-bit keys -> 64-bit hashes, 300000 reps worst bias is 100.000000% !!!!!
Testing 56-bit keys -> 64-bit hashes, 300000 reps worst bias is 100.000000% !!!!!
Testing 64-bit keys -> 64-bit hashes, 300000 reps worst bias is 100.000000% !!!!!
Testing 72-bit keys -> 64-bit hashes, 300000 reps worst bias is 100.000000% !!!!!
Testing 80-bit keys -> 64-bit hashes, 300000 reps worst bias is 100.000000% !!!!!
Testing 96-bit keys -> 64-bit hashes, 300000 reps worst bias is 100.000000% !!!!!
Testing 112-bit keys -> 64-bit hashes, 300000 reps worst bias is 100.000000% !!!!!
Testing 128-bit keys -> 64-bit hashes, 300000 reps worst bias is 100.000000% !!!!!
Testing 160-bit keys -> 64-bit hashes, 300000 reps worst bias is 100.000000% !!!!!
Testing 512-bit keys -> 64-bit hashes, 300000 reps worst bias is 100.000000% !!!!!
Testing 1024-bit keys -> 64-bit hashes, 300000 reps worst bias is 100.000000% !!!!!
*********FAIL*********
[[[ Keyset 'Sparse' Tests ]]]
Keyset 'Sparse' - 16-bit keys with up to 9 bits set - 50643 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 0.6, actual 0 (0.00x)
Testing collisions (high 19-26 bits) - Worst is 23 bits: 22344/305 (73.08x) !!!!!
Testing collisions (high 12-bit) - Expected 50643.0, actual 50588 (1.00x) (-55)
Testing collisions (high 8-bit) - Expected 50643.0, actual 50638 (1.00x) (-5)
Testing collisions (low 32-bit) - Expected 0.6, actual 0 (0.00x)
Testing collisions (low 19-26 bits) - Worst is 0 bits: 0/ 1 (0.00x)
Testing collisions (low 12-bit) - Expected 50643.0, actual 46547 (0.92x)
Testing collisions (low 8-bit) - Expected 50643.0, actual 50387 (0.99x) (-256)
Testing distribution - Worst bias is the 13-bit window at bit 26 - 99.988% !!!!!
Keyset 'Sparse' - 24-bit keys with up to 8 bits set - 1271626 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 376.5, actual 0 (0.00x)
Testing collisions (high 24-36 bits) - Worst is 30 bits: 13543/1505 (8.99x) !!!!!
Testing collisions (high 12-bit) - Expected 1271626.0, actual 1267545 (1.00x) (-4081)
Testing collisions (high 8-bit) - Expected 1271626.0, actual 1271370 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 376.5, actual 0 (0.00x)
Testing collisions (low 24-36 bits) - Worst is 24 bits: 18460/96382 (0.19x)
Testing collisions (low 12-bit) - Expected 1271626.0, actual 1267530 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 1271626.0, actual 1271370 (1.00x) (-256)
Testing distribution - Worst bias is the 17-bit window at bit 23 - 99.615% !!!!!
Keyset 'Sparse' - 32-bit keys with up to 7 bits set - 4514873 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 4746.0, actual 1021 (0.22x)
Testing collisions (high 26-39 bits) - Worst is 28 bits: 49753/75936 (0.66x)
Testing collisions (high 12-bit) - Expected 4514873.0, actual 4510777 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 4514873.0, actual 4514617 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 4746.0, actual 2123 (0.45x)
Testing collisions (low 26-39 bits) - Worst is 30 bits: 14209/18984 (0.75x)
Testing collisions (low 12-bit) - Expected 4514873.0, actual 4510777 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 4514873.0, actual 4514617 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 21 - 96.879% !!!!!
Keyset 'Sparse' - 40-bit keys with up to 6 bits set - 4598479 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 4923.4, actual 4943 (1.00x) (20)
Testing collisions (high 26-39 bits) - Worst is 32 bits: 4943/4923 (1.00x)
Testing collisions (high 12-bit) - Expected 4598479.0, actual 4594383 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 4598479.0, actual 4598223 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 4923.4, actual 1991 (0.40x)
Testing collisions (low 26-39 bits) - Worst is 34 bits: 868/1230 (0.71x)
Testing collisions (low 12-bit) - Expected 4598479.0, actual 4594383 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 4598479.0, actual 4598223 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 21 - 92.385% !!!!!
Keyset 'Sparse' - 48-bit keys with up to 6 bits set - 14196869 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 46927.3, actual 34202 (0.73x)
Testing collisions (high 28-43 bits) - Worst is 41 bits: 267/91 (2.91x) !!!!!
Testing collisions (high 12-bit) - Expected 14196869.0, actual 14192773 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 14196869.0, actual 14196613 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 46927.3, actual 25137 (0.54x)
Testing collisions (low 28-43 bits) - Worst is 39 bits: 413/366 (1.13x)
Testing collisions (low 12-bit) - Expected 14196869.0, actual 14192773 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 14196869.0, actual 14196613 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 20 - 77.736% !!!!!
Keyset 'Sparse' - 56-bit keys with up to 5 bits set - 4216423 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 4139.3, actual 2787 (0.67x)
Testing collisions (high 26-39 bits) - Worst is 39 bits: 49/32 (1.52x)
Testing collisions (high 12-bit) - Expected 4216423.0, actual 4212327 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 4216423.0, actual 4216167 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 4139.3, actual 2437 (0.59x)
Testing collisions (low 26-39 bits) - Worst is 37 bits: 234/129 (1.81x)
Testing collisions (low 12-bit) - Expected 4216423.0, actual 4212327 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 4216423.0, actual 4216167 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 21 - 81.293% !!!!!
Keyset 'Sparse' - 64-bit keys with up to 5 bits set - 8303633 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 16053.7, actual 1787003 (111.31x) (1770950) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 91706/31 (2924.77x) !!!!!
Testing collisions (high 12-bit) - Expected 8303633.0, actual 8299537 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 8303633.0, actual 8303377 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 16053.7, actual 8060808 (502.11x) (8044755) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 7441443/31 (237328.96x) !!!!!
Testing collisions (low 12-bit) - Expected 8303633.0, actual 8302047 (1.00x) (-1586)
Testing collisions (low 8-bit) - Expected 8303633.0, actual 8303414 (1.00x) (-219)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 99.997% !!!!!
Keyset 'Sparse' - 72-bit keys with up to 5 bits set - 15082603 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 52965.5, actual 274450 (5.18x) (221485) !!!!!
Testing collisions (high 28-43 bits) - Worst is 43 bits: 4586/25 (177.33x) !!!!!
Testing collisions (high 12-bit) - Expected 15082603.0, actual 15078507 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 15082603.0, actual 15082347 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 52965.5, actual 14322650 (270.41x) (14269685) !!!!!
Testing collisions (low 28-43 bits) - Worst is 43 bits: 12461491/25 (481844.88x) !!!!!
Testing collisions (low 12-bit) - Expected 15082603.0, actual 15078544 (1.00x) (-4059)
Testing collisions (low 8-bit) - Expected 15082603.0, actual 15082347 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 99.990% !!!!!
Keyset 'Sparse' - 96-bit keys with up to 4 bits set - 3469497 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 2802.7, actual 3203 (1.14x) (401)
Testing collisions (high 26-39 bits) - Worst is 39 bits: 457/21 (20.87x) !!!!!
Testing collisions (high 12-bit) - Expected 3469497.0, actual 3465401 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 3469497.0, actual 3469241 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 2802.7, actual 2790607 (995.69x) (2787805) !!!!!
Testing collisions (low 26-39 bits) - Worst is 39 bits: 2438151/21 (111351.87x) !!!!!
Testing collisions (low 12-bit) - Expected 3469497.0, actual 3465401 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 3469497.0, actual 3469241 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 0 - 99.943% !!!!!
Keyset 'Sparse' - 160-bit keys with up to 4 bits set - 26977161 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 1494481 (37880669752.97x) !!!!!
Testing collisions (high 32-bit) - Expected 169446.5, actual 1610682 (9.51x) (1441236) !!!!!
Testing collisions (high 29-45 bits) - Worst is 45 bits: 1505558/20 (72787.17x) !!!!!
Testing collisions (high 12-bit) - Expected 26977161.0, actual 26973065 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 26977161.0, actual 26976905 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 169446.5, actual 23804085 (140.48x) (23634639) !!!!!
Testing collisions (low 29-45 bits) - Worst is 45 bits: 18432169/20 (891115.05x) !!!!!
Testing collisions (low 12-bit) - Expected 26977161.0, actual 26973065 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 26977161.0, actual 26976905 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 99.990% !!!!!
Keyset 'Sparse' - 256-bit keys with up to 3 bits set - 2796417 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 254010 (599193129552.01x) !!!!!
Testing collisions (high 32-bit) - Expected 1820.7, actual 588735 (323.35x) (586915) !!!!!
Testing collisions (high 25-38 bits) - Worst is 38 bits: 400714/28 (14085.45x) !!!!!
Testing collisions (high 12-bit) - Expected 2796417.0, actual 2792321 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 2796417.0, actual 2796161 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 1820.7, actual 2520469 (1384.32x) (2518649) !!!!!
Testing collisions (low 25-38 bits) - Worst is 38 bits: 2314252/28 (81347.98x) !!!!!
Testing collisions (low 12-bit) - Expected 2796417.0, actual 2793111 (1.00x) (-3306)
Testing collisions (low 8-bit) - Expected 2796417.0, actual 2796161 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 0 - 99.998% !!!!!
Keyset 'Sparse' - 512-bit keys with up to 3 bits set - 22370049 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 3204379 (118121716146.60x) !!!!!
Testing collisions (high 32-bit) - Expected 116512.9, actual 4677734 (40.15x) (4561222) !!!!!
Testing collisions (high 28-44 bits) - Worst is 44 bits: 3332603/28 (117157.35x) !!!!!
Testing collisions (high 12-bit) - Expected 22370049.0, actual 22365953 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 22370049.0, actual 22369793 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 116512.9, actual 20523170 (176.15x) (20406658) !!!!!
Testing collisions (low 28-44 bits) - Worst is 44 bits: 16745453/28 (588684.85x) !!!!!
Testing collisions (low 12-bit) - Expected 22370049.0, actual 22365956 (1.00x) (-4093)
Testing collisions (low 8-bit) - Expected 22370049.0, actual 22369793 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 99.999% !!!!!
Keyset 'Sparse' - 1024-bit keys with up to 2 bits set - 524801 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 61311 (4106479336868.64x) !!!!!
Testing collisions (high 32-bit) - Expected 64.1, actual 73355 (1143.93x) (73291) !!!!!
Testing collisions (high 23-33 bits) - Worst is 33 bits: 72149/32 (2250.25x) !!!!!
Testing collisions (high 12-bit) - Expected 524801.0, actual 520705 (0.99x) (-4096)
Testing collisions (high 8-bit) - Expected 524801.0, actual 524545 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 64.1, actual 427357 (6664.42x) (427293) !!!!!
Testing collisions (low 23-33 bits) - Worst is 33 bits: 420081/32 (13101.90x) !!!!!
Testing collisions (low 12-bit) - Expected 524801.0, actual 521869 (0.99x) (-2932)
Testing collisions (low 8-bit) - Expected 524801.0, actual 524545 (1.00x) (-256)
Testing distribution - Worst bias is the 16-bit window at bit 0 - 99.995% !!!!!
Keyset 'Sparse' - 2048-bit keys with up to 2 bits set - 2098177 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 313697 (1314455992979.12x) !!!!!
Testing collisions (high 32-bit) - Expected 1025.0, actual 340591 (332.28x) (339566) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 326965/32 (10207.68x) !!!!!
Testing collisions (high 12-bit) - Expected 2098177.0, actual 2094081 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 2098177.0, actual 2097921 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 1025.0, actual 1746912 (1704.30x) (1745887) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 1592317/32 (49711.32x) !!!!!
Testing collisions (low 12-bit) - Expected 2098177.0, actual 2094346 (1.00x) (-3831)
Testing collisions (low 8-bit) - Expected 2098177.0, actual 2097921 (1.00x) (-256)
Testing distribution - Worst bias is the 18-bit window at bit 0 - 99.999% !!!!!
*********FAIL*********
[[[ Keyset 'Permutation' Tests ]]]
Combination Lowbits Tests:
Keyset 'Combination' - up to 7 blocks from a set of 8 - 2396744 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 1337.5, actual 124 (0.09x)
Testing collisions (high 25-38 bits) - Worst is 25 bits: 207485/171195 (1.21x)
Testing collisions (high 12-bit) - Expected 2396744.0, actual 2392648 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 2396744.0, actual 2396488 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 1337.5, actual 2391480 (1788.07x) (2390143) !!!!!
Testing collisions (low 25-38 bits) - Worst is 38 bits: 2073600/20 (99225.14x) !!!!!
Testing collisions (low 12-bit) - Expected 2396744.0, actual 2393714 (1.00x) (-3030)
Testing collisions (low 8-bit) - Expected 2396744.0, actual 2396488 (1.00x) (-256)
Testing distribution - Worst bias is the 18-bit window at bit 14 - 98.945% !!!!!
*********FAIL*********
Combination Highbits Tests
Keyset 'Combination' - up to 7 blocks from a set of 8 - 2396744 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 2354688 (7561535171788.99x) !!!!!
Testing collisions (high 32-bit) - Expected 1337.5, actual 2354688 (1760.56x) (2353351) !!!!!
Testing collisions (high 25-38 bits) - Worst is 38 bits: 2354688/20 (112675.65x) !!!!!
Testing collisions (high 12-bit) - Expected 2396744.0, actual 2394231 (1.00x) (-2513)
Testing collisions (high 8-bit) - Expected 2396744.0, actual 2396488 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 1337.5, actual 2396520 (1791.83x) (2395183) !!!!!
Testing collisions (low 25-38 bits) - Worst is 38 bits: 2392632/20 (114491.34x) !!!!!
Testing collisions (low 12-bit) - Expected 2396744.0, actual 2396709 (1.00x) (-35)
Testing collisions (low 8-bit) - Expected 2396744.0, actual 2396709 (1.00x) (-35)
Testing distribution - Worst bias is the 18-bit window at bit 0 - 99.996% !!!!!
*********FAIL*********
Combination Hi-Lo Tests:
Keyset 'Combination' - up to 6 blocks from a set of 15 - 12204240 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 5871600 (727201457610.85x) !!!!!
Testing collisions (high 32-bit) - Expected 34678.6, actual 5903201 (170.23x) (5868523) !!!!!
Testing collisions (high 27-42 bits) - Worst is 42 bits: 5881200/33 (173661.81x) !!!!!
Testing collisions (high 12-bit) - Expected 12204240.0, actual 12200144 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 12204240.0, actual 12203984 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 34678.6, actual 12199586 (351.79x) (12164908) !!!!!
Testing collisions (low 27-42 bits) - Worst is 42 bits: 11175345/33 (329988.89x) !!!!!
Testing collisions (low 12-bit) - Expected 12204240.0, actual 12202867 (1.00x) (-1373)
Testing collisions (low 8-bit) - Expected 12204240.0, actual 12203984 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 9 - 99.997% !!!!!
*********FAIL*********
Combination 0x8000000 Tests:
Keyset 'Combination' - up to 22 blocks from a set of 2 - 8388606 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 8372741 (2194865124945.37x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8372741 (511.03x) (8356358) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8372741/31 (261648.31x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8385358 (1.00x) (-3248)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388350 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388557 (512.00x) (8372174) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8383097/31 (261971.94x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388581 (1.00x) (-25)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388581 (1.00x) (-25)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 100.000% !!!!!
*********FAIL*********
Combination 0x0000001 Tests:
Keyset 'Combination' - up to 22 blocks from a set of 2 - 8388606 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 43690 (11453078186.57x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 50367 (3.07x) (33984) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 43709/31 (1365.91x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8384510 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388350 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8380928 (511.53x) (8364545) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 5160138/31 (161254.41x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8385049 (1.00x) (-3557)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388350 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 12 - 99.686% !!!!!
*********FAIL*********
Combination 0x800000000000000 Tests:
Keyset 'Combination' - up to 22 blocks from a set of 2 - 8388606 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 8388562 (2199012507641.41x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388562 (512.00x) (8372179) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388562/31 (262142.72x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388562 (1.00x) (-44)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388568 (1.00x) (-38)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388584 (512.00x) (8372201) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388584/31 (262143.41x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388584 (1.00x) (-22)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388584 (1.00x) (-22)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 100.000% !!!!!
*********FAIL*********
Combination 0x000000000000001 Tests:
Keyset 'Combination' - up to 22 blocks from a set of 2 - 8388606 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 16384.0, actual 8938 (0.55x)
Testing collisions (high 27-41 bits) - Worst is 40 bits: 84/63 (1.31x)
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8384510 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388350 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 16384.0, actual 3314 (0.20x)
Testing collisions (low 27-41 bits) - Worst is 27 bits: 202108/524287 (0.39x)
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8384510 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388350 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 20 - 24.576% !!!!!
*********FAIL*********
Combination 16-bytes [0-1] Tests:
Keyset 'Combination' - up to 22 blocks from a set of 2 - 8388606 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 16384.0, actual 10815 (0.66x)
Testing collisions (high 27-41 bits) - Worst is 32 bits: 10815/16383 (0.66x)
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8384510 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388350 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 16384.0, actual 29932 (1.83x) (13549)
Testing collisions (low 27-41 bits) - Worst is 33 bits: 19536/8191 (2.38x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8387582 (1.00x) (-1024)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388542 (1.00x) (-64)
Testing distribution - Worst bias is the 20-bit window at bit 51 - 75.912% !!!!!
*********FAIL*********
Combination 16-bytes [0-last] Tests:
Keyset 'Combination' - up to 22 blocks from a set of 2 - 8388606 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 8388562 (2199012507641.41x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388562 (512.00x) (8372179) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388562/31 (262142.72x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388562 (1.00x) (-44)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388566 (1.00x) (-40)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388584 (512.00x) (8372201) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388584/31 (262143.41x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388584 (1.00x) (-22)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388584 (1.00x) (-22)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 100.000% !!!!!
*********FAIL*********
Combination 32-bytes [0-1] Tests:
Keyset 'Combination' - up to 22 blocks from a set of 2 - 8388606 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 16384.0, actual 3314 (0.20x)
Testing collisions (high 27-41 bits) - Worst is 27 bits: 278137/524287 (0.53x)
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8384510 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388350 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 16384.0, actual 36630 (2.24x) (20247) !!!!!
Testing collisions (low 27-41 bits) - Worst is 31 bits: 158802/32767 (4.85x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388094 (1.00x) (-512)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388574 (1.00x) (-32)
Testing distribution - Worst bias is the 20-bit window at bit 54 - 89.286% !!!!!
*********FAIL*********
Combination 32-bytes [0-last] Tests:
Keyset 'Combination' - up to 22 blocks from a set of 2 - 8388606 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 8388562 (2199012507641.41x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388562 (512.00x) (8372179) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388562/31 (262142.72x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388562 (1.00x) (-44)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388562 (1.00x) (-44)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388584 (512.00x) (8372201) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388584/31 (262143.41x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388584 (1.00x) (-22)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388590 (1.00x) (-16)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 100.000% !!!!!
*********FAIL*********
Combination 64-bytes [0-1] Tests:
Keyset 'Combination' - up to 22 blocks from a set of 2 - 8388606 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 16384.0, actual 5970 (0.36x)
Testing collisions (high 27-41 bits) - Worst is 27 bits: 241479/524287 (0.46x)
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8384510 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388350 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 16384.0, actual 203558 (12.42x) (187175) !!!!!
Testing collisions (low 27-41 bits) - Worst is 38 bits: 6144/255 (24.00x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388350 (1.00x) (-256)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388590 (1.00x) (-16)
Testing distribution - Worst bias is the 18-bit window at bit 63 - 96.681% !!!!!
*********FAIL*********
Combination 64-bytes [0-last] Tests:
Keyset 'Combination' - up to 22 blocks from a set of 2 - 8388606 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 8388562 (2199012507641.41x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388562 (512.00x) (8372179) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388562/31 (262142.72x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388562 (1.00x) (-44)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388566 (1.00x) (-40)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388584 (512.00x) (8372201) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388584/31 (262143.41x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388584 (1.00x) (-22)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388598 (1.00x) (-8)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 100.000% !!!!!
*********FAIL*********
Combination 128-bytes [0-1] Tests:
Keyset 'Combination' - up to 22 blocks from a set of 2 - 8388606 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 16384.0, actual 9952 (0.61x)
Testing collisions (high 27-41 bits) - Worst is 32 bits: 9952/16383 (0.61x)
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8384510 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388350 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 16384.0, actual 1002162 (61.17x) (985779) !!!!!
Testing collisions (low 27-41 bits) - Worst is 39 bits: 13900/127 (108.59x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388478 (1.00x) (-128)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388598 (1.00x) (-8)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 99.167% !!!!!
*********FAIL*********
Combination 128-bytes [0-last] Tests:
Keyset 'Combination' - up to 22 blocks from a set of 2 - 8388606 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 8388562 (2199012507641.41x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388562 (512.00x) (8372179) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388562/31 (262142.72x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388562 (1.00x) (-44)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388562 (1.00x) (-44)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388584 (512.00x) (8372201) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388584/31 (262143.41x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388584 (1.00x) (-22)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388602 (1.00x) (-4)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 100.000% !!!!!
*********FAIL*********
[[[ Keyset 'Window' Tests ]]]
Keyset 'Window' - 136-bit key, 20-bit window - 136 tests, 1048576 keys per test
Window at 0 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 1 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 2 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 3 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 4 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 5 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 6 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 7 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 8 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 9 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 10 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 11 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 12 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 13 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 14 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 15 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 16 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 17 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 18 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 19 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 20 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 21 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 22 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 23 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 24 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 25 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 26 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 27 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 28 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 29 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 30 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 31 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 32 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 33 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 34 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 35 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 36 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 37 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 38 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 39 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 40 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 41 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 42 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 43 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 44 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 45 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 46 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 47 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 48 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 49 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 50 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 51 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 52 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 53 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 54 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 55 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 56 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 57 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 58 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 59 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 60 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 61 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 62 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 63 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 64 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 65 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 66 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 67 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 68 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 69 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 70 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 71 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 72 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 73 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 74 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 75 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 76 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 77 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 78 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 79 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 80 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 81 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 82 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 83 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 84 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 85 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 86 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 87 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 88 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 89 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 90 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 91 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 92 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 93 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 94 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 95 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 96 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 97 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 98 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 99 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 100 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 101 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 102 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 103 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 104 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 105 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 106 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 107 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 108 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 109 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 110 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 111 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 112 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 113 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 114 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 115 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 116 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 117 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 118 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 119 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 120 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 121 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 122 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 123 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 124 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 125 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 126 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 127 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 128 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 129 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 130 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 131 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 132 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 133 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 134 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 135 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Window at 136 - Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
[[[ Keyset 'Cyclic' Tests ]]]
Keyset 'Cyclic' - 8 cycles of 8 bytes - 1000000 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 232.8, actual 126 (0.54x)
Testing collisions (high 24-35 bits) - Worst is 32 bits: 126/232 (0.54x)
Testing collisions (high 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 232.8, actual 6772 (29.09x) (6540) !!!!!
Testing collisions (low 24-35 bits) - Worst is 35 bits: 903/29 (31.03x) !!!!!
Testing collisions (low 12-bit) - Expected 1000000.0, actual 999732 (1.00x) (-268)
Testing collisions (low 8-bit) - Expected 1000000.0, actual 999980 (1.00x) (-20)
Testing distribution - Worst bias is the 17-bit window at bit 0 - 97.079% !!!!!
Keyset 'Cyclic' - 8 cycles of 9 bytes - 1000000 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 232.8, actual 133 (0.57x)
Testing collisions (high 24-35 bits) - Worst is 33 bits: 70/116 (0.60x)
Testing collisions (high 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 232.8, actual 141 (0.61x)
Testing collisions (low 24-35 bits) - Worst is 35 bits: 20/29 (0.69x)
Testing collisions (low 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
Testing distribution - Worst bias is the 17-bit window at bit 46 - 0.097%
Keyset 'Cyclic' - 8 cycles of 10 bytes - 1000000 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 232.8, actual 109 (0.47x)
Testing collisions (high 24-35 bits) - Worst is 35 bits: 22/29 (0.76x)
Testing collisions (high 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 232.8, actual 303 (1.30x) (71)
Testing collisions (low 24-35 bits) - Worst is 31 bits: 617/465 (1.32x)
Testing collisions (low 12-bit) - Expected 1000000.0, actual 997952 (1.00x) (-2048)
Testing collisions (low 8-bit) - Expected 1000000.0, actual 999872 (1.00x) (-128)
Testing distribution - Worst bias is the 17-bit window at bit 61 - 59.929% !!!!!
Keyset 'Cyclic' - 8 cycles of 11 bytes - 1000000 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 232.8, actual 113 (0.49x)
Testing collisions (high 24-35 bits) - Worst is 31 bits: 253/465 (0.54x)
Testing collisions (high 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 232.8, actual 108 (0.46x)
Testing collisions (low 24-35 bits) - Worst is 35 bits: 16/29 (0.55x)
Testing collisions (low 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
Testing distribution - Worst bias is the 17-bit window at bit 39 - 0.111%
Keyset 'Cyclic' - 8 cycles of 12 bytes - 1000000 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 232.8, actual 121 (0.52x)
Testing collisions (high 24-35 bits) - Worst is 33 bits: 64/116 (0.55x)
Testing collisions (high 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 232.8, actual 554 (2.38x) (322) !!!!!
Testing collisions (low 24-35 bits) - Worst is 29 bits: 4621/1862 (2.48x) !!!!!
Testing collisions (low 12-bit) - Expected 1000000.0, actual 998976 (1.00x) (-1024)
Testing collisions (low 8-bit) - Expected 1000000.0, actual 999936 (1.00x) (-64)
Testing distribution - Worst bias is the 17-bit window at bit 61 - 80.017% !!!!!
Keyset 'Cyclic' - 8 cycles of 16 bytes - 1000000 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 232.8, actual 106 (0.46x)
Testing collisions (high 24-35 bits) - Worst is 28 bits: 1881/3725 (0.50x)
Testing collisions (high 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 232.8, actual 2243 (9.63x) (2011) !!!!!
Testing collisions (low 24-35 bits) - Worst is 35 bits: 290/29 (9.96x) !!!!!
Testing collisions (low 12-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
Testing collisions (low 8-bit) - Expected 1000000.0, actual 999984 (1.00x) (-16)
Testing distribution - Worst bias is the 17-bit window at bit 61 - 94.781% !!!!!
*********FAIL*********
[[[ Keyset 'TwoBytes' Tests ]]]
Keyset 'TwoBytes' - up-to-4-byte keys, 652545 total keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 99.1, actual 13 (0.13x)
Testing collisions (high 23-34 bits) - Worst is 23 bits: 215580/50761 (4.25x) !!!!!
Testing collisions (high 12-bit) - Expected 652545.0, actual 648449 (0.99x) (-4096)
Testing collisions (high 8-bit) - Expected 652545.0, actual 652289 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 99.1, actual 9 (0.09x)
Testing collisions (low 23-34 bits) - Worst is 28 bits: 862/1586 (0.54x)
Testing collisions (low 12-bit) - Expected 652545.0, actual 648449 (0.99x) (-4096)
Testing collisions (low 8-bit) - Expected 652545.0, actual 652289 (1.00x) (-256)
Testing distribution - Worst bias is the 16-bit window at bit 24 - 99.837% !!!!!
Keyset 'TwoBytes' - up-to-8-byte keys, 5471025 total keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 6969.1, actual 538647 (77.29x) (531678) !!!!!
Testing collisions (high 26-40 bits) - Worst is 40 bits: 134519/27 (4941.36x) !!!!!
Testing collisions (high 12-bit) - Expected 5471025.0, actual 5466929 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 5471025.0, actual 5470769 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 6969.1, actual 1433194 (205.65x) (1426225) !!!!!
Testing collisions (low 26-40 bits) - Worst is 40 bits: 1171215/27 (43022.85x) !!!!!
Testing collisions (low 12-bit) - Expected 5471025.0, actual 5466929 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 5471025.0, actual 5470769 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 99.994% !!!!!
Keyset 'TwoBytes' - up-to-12-byte keys, 18616785 total keys
Testing collisions ( 64-bit) - Expected 0.0, actual 1304070 (69408280184.33x) !!!!!
Testing collisions (high 32-bit) - Expected 80695.5, actual 1990920 (24.67x) (1910225) !!!!!
Testing collisions (high 28-43 bits) - Worst is 43 bits: 1335944/39 (33905.39x) !!!!!
Testing collisions (high 12-bit) - Expected 18616785.0, actual 18612689 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 18616785.0, actual 18616529 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 80695.5, actual 11067870 (137.16x) (10987175) !!!!!
Testing collisions (low 28-43 bits) - Worst is 43 bits: 9048381/39 (229642.02x) !!!!!
Testing collisions (low 12-bit) - Expected 18616785.0, actual 18612689 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 18616785.0, actual 18616529 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 99.986% !!!!!
Keyset 'TwoBytes' - up-to-16-byte keys, 44251425 total keys
Testing collisions ( 64-bit) - Expected 0.0, actual 7356133 (69297055902.96x) !!!!!
Testing collisions (high 32-bit) - Expected 455926.3, actual 9808139 (21.51x) (9352213) !!!!!
Testing collisions (high 29-46 bits) - Worst is 46 bits: 7401360/27 (265972.55x) !!!!!
Testing collisions (high 12-bit) - Expected 44251425.0, actual 44247329 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 44251425.0, actual 44251169 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 455926.3, actual 29776588 (65.31x) (29320662) !!!!!
Testing collisions (low 29-46 bits) - Worst is 46 bits: 23516289/27 (845072.71x) !!!!!
Testing collisions (low 12-bit) - Expected 44251425.0, actual 44247329 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 44251425.0, actual 44251169 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 99.989% !!!!!
Keyset 'TwoBytes' - up-to-20-byte keys, 86536545 total keys
Testing collisions ( 64-bit) - Expected 0.0, actual 29342825 (72280732868.16x) !!!!!
Testing collisions (high 32-bit) - Expected 1743569.4, actual 32457464 (18.62x) (30713895) !!!!!
Testing collisions (high 30-48 bits) - Worst is 48 bits: 29360107/26 (1103566.04x) !!!!!
Testing collisions (high 12-bit) - Expected 86536545.0, actual 86532449 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 86536545.0, actual 86536289 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 1743569.4, actual 69027622 (39.59x) (67284053) !!!!!
Testing collisions (low 30-48 bits) - Worst is 48 bits: 52372313/26 (1968531.86x) !!!!!
Testing collisions (low 12-bit) - Expected 86536545.0, actual 86532449 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 86536545.0, actual 86536289 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 99.990% !!!!!
*********FAIL*********
[[[ 'MomentChi2' Tests ]]]
Running 1st unseeded MomentChi2 for the low 32bits/step 3 ... 39333564.801478 - 419612.078077
Running 2nd seeded MomentChi2 for the low 32bits/step 3 ... 32135072.053836 - 352395.511699
KeySeedMomentChi2: 6.71215e+07 FAIL!!!!
*********FAIL*********
[[[ Keyset 'Text' Tests ]]]
Keyset 'Text' - keys of form "Foo[XXXX]Bar" - 14776336 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 50836.3, actual 0 (0.00x)
Testing collisions (high 28-43 bits) - Worst is 28 bits: 437828/813380 (0.54x)
Testing collisions (high 12-bit) - Expected 14776336.0, actual 14772240 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 14776336.0, actual 14776080 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 50836.3, actual 14776274 (290.66x) (14725438) !!!!!
Testing collisions (low 28-43 bits) - Worst is 43 bits: 14745584/24 (594043.58x) !!!!!
Testing collisions (low 12-bit) - Expected 14776336.0, actual 14776335 (1.00x) (-1)
Testing collisions (low 8-bit) - Expected 14776336.0, actual 14776335 (1.00x) (-1)
Testing distribution - Worst bias is the 20-bit window at bit 0 - 100.000% !!!!!
Keyset 'Text' - keys of form "FooBar[XXXX]" - 14776336 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 50836.3, actual 7788139 (153.20x) (7737303) !!!!!
Testing collisions (high 28-43 bits) - Worst is 43 bits: 1795944/24 (72351.76x) !!!!!
Testing collisions (high 12-bit) - Expected 14776336.0, actual 14772240 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 14776336.0, actual 14776080 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 50836.3, actual 14772492 (290.59x) (14721656) !!!!!
Testing collisions (low 28-43 bits) - Worst is 43 bits: 14772492/24 (595127.60x) !!!!!
Testing collisions (low 12-bit) - Expected 14776336.0, actual 14773431 (1.00x) (-2905)
Testing collisions (low 8-bit) - Expected 14776336.0, actual 14776080 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 20 - 99.999% !!!!!
Keyset 'Text' - keys of form "[XXXX]FooBar" - 14776336 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 50836.3, actual 28814 (0.57x)
Testing collisions (high 28-43 bits) - Worst is 33 bits: 20899/25418 (0.82x)
Testing collisions (high 12-bit) - Expected 14776336.0, actual 14772240 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 14776336.0, actual 14776080 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 50836.3, actual 0 (0.00x)
Testing collisions (low 28-43 bits) - Worst is 29 bits: 8579808/406690 (21.10x) !!!!!
Testing collisions (low 12-bit) - Expected 14776336.0, actual 14775344 (1.00x) (-992)
Testing collisions (low 8-bit) - Expected 14776336.0, actual 14776274 (1.00x) (-62)
Testing distribution - Worst bias is the 20-bit window at bit 61 - 95.371% !!!!!
*********FAIL*********
[[[ Keyset 'Zeroes' Tests ]]]
Keyset 'Zeroes' - 204800 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 179193 (78810299662342.23x) !!!!!
Testing collisions (high 32-bit) - Expected 9.8, actual 179194 (18349.56x) (179185) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 179194/39 (4587.39x) !!!!!
Testing collisions (high 12-bit) - Expected 204800.0, actual 200713 (0.98x) (-4087)
Testing collisions (high 8-bit) - Expected 204800.0, actual 204544 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 9.8, actual 179193 (18349.45x) (179184) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 179193/39 (4587.36x) !!!!!
Testing collisions (low 12-bit) - Expected 204800.0, actual 203776 (0.99x) (-1024)
Testing collisions (low 8-bit) - Expected 204800.0, actual 204736 (1.00x) (-64)
Testing distribution - Worst bias is the 15-bit window at bit 56 - 80.475% !!!!!
*********FAIL*********
[[[ Keyset 'Seed' Tests ]]]
Keyset 'Seed' - 5000000 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 5820.8, actual 2957 (0.51x)
Testing collisions (high 26-40 bits) - Worst is 40 bits: 13/22 (0.57x)
Testing collisions (high 12-bit) - Expected 5000000.0, actual 4995904 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 5000000.0, actual 4999744 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 5820.8, actual 0 (0.00x)
Testing collisions (low 26-40 bits) - Worst is 0 bits: 0/ 1 (0.00x)
Testing collisions (low 12-bit) - Expected 5000000.0, actual 4995904 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 5000000.0, actual 4999744 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 28 - 0.057%
[[[ Diff 'Differential' Tests ]]]
Testing 8303632 up-to-5-bit differentials in 64-bit keys -> 64 bit hashes.
1000 reps, 8303632000 total tests, expecting 0.00 random collisions..........
0 total collisions, of which 0 single collisions were ignored
Testing 11017632 up-to-4-bit differentials in 128-bit keys -> 64 bit hashes.
1000 reps, 11017632000 total tests, expecting 0.00 random collisions..........
14350 total collisions, of which 0 single collisions were ignored !!!!!
Testing 2796416 up-to-3-bit differentials in 256-bit keys -> 64 bit hashes.
1000 reps, 2796416000 total tests, expecting 0.00 random collisions..........
58427 total collisions, of which 178 single collisions were ignored !!!!!
*********FAIL*********
[[[ DiffDist 'Differential Distribution' Tests ]]]
Testing bit 0
Testing collisions ( 64-bit) - Expected 0.0, actual 2093768 (8781903685010.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097130 (2047.98x) (2096107) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097123/31 (65535.12x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097141 (1.00x) (-11)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097145 (1.00x) (-7)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2096710 (2047.57x) (2095687) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2096710/31 (65522.22x) !!!!!
Testing collisions (low 12-bit) - Expected 2097152.0, actual 2097061 (1.00x) (-91)
Testing collisions (low 8-bit) - Expected 2097152.0, actual 2097135 (1.00x) (-17)
Testing bit 1
Testing collisions ( 64-bit) - Expected 0.0, actual 2091915 (8774131635992.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097130 (2047.98x) (2096107) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097121/31 (65535.06x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097140 (1.00x) (-12)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097144 (1.00x) (-8)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2096442 (2047.31x) (2095419) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2096442/31 (65513.84x) !!!!!
Testing collisions (low 12-bit) - Expected 2097152.0, actual 2097043 (1.00x) (-109)
Testing collisions (low 8-bit) - Expected 2097152.0, actual 2097135 (1.00x) (-17)
Testing bit 2
Testing collisions ( 64-bit) - Expected 0.0, actual 2091902 (8774077110014.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097129 (2047.98x) (2096106) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097116/31 (65534.91x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097139 (1.00x) (-13)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097143 (1.00x) (-9)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2096449 (2047.31x) (2095426) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2096449/31 (65514.06x) !!!!!
Testing collisions (low 12-bit) - Expected 2097152.0, actual 2097089 (1.00x) (-63)
Testing collisions (low 8-bit) - Expected 2097152.0, actual 2097140 (1.00x) (-12)
Testing bit 3
Testing collisions ( 64-bit) - Expected 0.0, actual 2091886 (8774010001118.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097127 (2047.98x) (2096104) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097110/31 (65534.72x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097139 (1.00x) (-13)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097143 (1.00x) (-9)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2096440 (2047.31x) (2095417) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2096440/31 (65513.78x) !!!!!
Testing collisions (low 12-bit) - Expected 2097152.0, actual 2097106 (1.00x) (-46)
Testing collisions (low 8-bit) - Expected 2097152.0, actual 2097145 (1.00x) (-7)
Testing bit 4
Testing collisions ( 64-bit) - Expected 0.0, actual 2091897 (8774056138484.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097129 (2047.98x) (2096106) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097110/31 (65534.72x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097139 (1.00x) (-13)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097143 (1.00x) (-9)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2096443 (2047.31x) (2095420) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2096443/31 (65513.87x) !!!!!
Testing collisions (low 12-bit) - Expected 2097152.0, actual 2097123 (1.00x) (-29)
Testing collisions (low 8-bit) - Expected 2097152.0, actual 2097147 (1.00x) (-5)
Testing bit 5
Testing collisions ( 64-bit) - Expected 0.0, actual 2091876 (8773968058058.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097125 (2047.97x) (2096102) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097097/31 (65534.31x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097139 (1.00x) (-13)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097143 (1.00x) (-9)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2096445 (2047.31x) (2095422) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2096440/31 (65513.78x) !!!!!
Testing collisions (low 12-bit) - Expected 2097152.0, actual 2097135 (1.00x) (-17)
Testing collisions (low 8-bit) - Expected 2097152.0, actual 2097149 (1.00x) (-3)
Testing bit 6
Testing collisions ( 64-bit) - Expected 0.0, actual 2091969 (8774358128516.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097125 (2047.97x) (2096102) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097093/31 (65534.19x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097139 (1.00x) (-13)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097143 (1.00x) (-9)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2096445 (2047.31x) (2095422) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2096443/31 (65513.87x) !!!!!
Testing collisions (low 12-bit) - Expected 2097152.0, actual 2097140 (1.00x) (-12)
Testing collisions (low 8-bit) - Expected 2097152.0, actual 2097150 (1.00x) (-2)
Testing bit 7
Testing collisions ( 64-bit) - Expected 0.0, actual 2091837 (8773804480124.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097126 (2047.98x) (2096103) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097087/31 (65534.00x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097139 (1.00x) (-13)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097143 (1.00x) (-9)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2096449 (2047.31x) (2095426) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2096435/31 (65513.62x) !!!!!
Testing collisions (low 12-bit) - Expected 2097152.0, actual 2097145 (1.00x) (-7)
Testing collisions (low 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing bit 8
Testing collisions ( 64-bit) - Expected 0.0, actual 2091908 (8774102275850.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097118 (2047.97x) (2096095) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097076/31 (65533.66x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097139 (1.00x) (-13)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097143 (1.00x) (-9)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2096466 (2047.33x) (2095443) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2096431/31 (65513.50x) !!!!!
Testing collisions (low 12-bit) - Expected 2097152.0, actual 2097147 (1.00x) (-5)
Testing collisions (low 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing bit 9
Testing collisions ( 64-bit) - Expected 0.0, actual 2091942 (8774244882254.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097117 (2047.97x) (2096094) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097073/31 (65533.56x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097139 (1.00x) (-13)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097143 (1.00x) (-9)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2096505 (2047.37x) (2095482) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2096442/31 (65513.84x) !!!!!
Testing collisions (low 12-bit) - Expected 2097152.0, actual 2097149 (1.00x) (-3)
Testing collisions (low 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing bit 10
Testing collisions ( 64-bit) - Expected 0.0, actual 2091953 (8774291019620.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097105 (2047.96x) (2096082) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097056/31 (65533.03x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097139 (1.00x) (-13)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097143 (1.00x) (-9)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2096539 (2047.40x) (2095516) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2096443/31 (65513.87x) !!!!!
Testing collisions (low 12-bit) - Expected 2097152.0, actual 2097150 (1.00x) (-2)
Testing collisions (low 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing bit 11
Testing collisions ( 64-bit) - Expected 0.0, actual 2092028 (8774605592570.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097100 (2047.95x) (2096077) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097049/31 (65532.81x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097139 (1.00x) (-13)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097143 (1.00x) (-9)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2096584 (2047.45x) (2095561) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2096451/31 (65514.12x) !!!!!
Testing collisions (low 12-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (low 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing bit 12
Testing collisions ( 64-bit) - Expected 0.0, actual 2092155 (8775138269432.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097095 (2047.95x) (2096072) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097036/31 (65532.41x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097140 (1.00x) (-12)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097143 (1.00x) (-9)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2096629 (2047.49x) (2095606) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2096444/31 (65513.91x) !!!!!