forked from rurban/smhasher
-
Notifications
You must be signed in to change notification settings - Fork 10
/
fletcher2
1579 lines (1415 loc) · 114 KB
/
fletcher2
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 fletcher2 "fletcher2 ZFS" POOR
[[[ Sanity Tests ]]]
Verification value 0x890767C0 ....... PASS
Running sanity check 1 . 0: 0xEC == 0xEC FAIL !!!!!
Running AppendedZeroesTest .......... PASS
[[[ Speed Tests ]]]
Bulk speed test - 262144-byte keys
Alignment 7 - 4.097 bytes/cycle - 11722.01 MiB/sec @ 3 ghz
Alignment 6 - 4.055 bytes/cycle - 11602.83 MiB/sec @ 3 ghz
Alignment 5 - 4.098 bytes/cycle - 11723.32 MiB/sec @ 3 ghz
Alignment 4 - 4.098 bytes/cycle - 11724.48 MiB/sec @ 3 ghz
Alignment 3 - 4.045 bytes/cycle - 11571.72 MiB/sec @ 3 ghz
Alignment 2 - 4.097 bytes/cycle - 11722.18 MiB/sec @ 3 ghz
Alignment 1 - 4.098 bytes/cycle - 11724.43 MiB/sec @ 3 ghz
Alignment 0 - 4.435 bytes/cycle - 12688.04 MiB/sec @ 3 ghz
Average - 4.128 bytes/cycle - 11809.88 MiB/sec @ 3 ghz
Small key speed test - 1-byte keys - 13.00 cycles/hash
Small key speed test - 2-byte keys - 15.00 cycles/hash
Small key speed test - 3-byte keys - 18.00 cycles/hash
Small key speed test - 4-byte keys - 20.89 cycles/hash
Small key speed test - 5-byte keys - 23.00 cycles/hash
Small key speed test - 6-byte keys - 26.29 cycles/hash
Small key speed test - 7-byte keys - 29.00 cycles/hash
Small key speed test - 8-byte keys - 24.00 cycles/hash
Small key speed test - 9-byte keys - 24.30 cycles/hash
Small key speed test - 10-byte keys - 25.00 cycles/hash
Small key speed test - 11-byte keys - 27.00 cycles/hash
Small key speed test - 12-byte keys - 28.00 cycles/hash
Small key speed test - 13-byte keys - 29.30 cycles/hash
Small key speed test - 14-byte keys - 30.34 cycles/hash
Small key speed test - 15-byte keys - 31.32 cycles/hash
Small key speed test - 16-byte keys - 25.34 cycles/hash
Small key speed test - 17-byte keys - 25.52 cycles/hash
Small key speed test - 18-byte keys - 27.30 cycles/hash
Small key speed test - 19-byte keys - 28.00 cycles/hash
Small key speed test - 20-byte keys - 29.27 cycles/hash
Small key speed test - 21-byte keys - 30.00 cycles/hash
Small key speed test - 22-byte keys - 31.30 cycles/hash
Small key speed test - 23-byte keys - 33.22 cycles/hash
Small key speed test - 24-byte keys - 26.41 cycles/hash
Small key speed test - 25-byte keys - 27.14 cycles/hash
Small key speed test - 26-byte keys - 27.00 cycles/hash
Small key speed test - 27-byte keys - 29.00 cycles/hash
Small key speed test - 28-byte keys - 30.25 cycles/hash
Small key speed test - 29-byte keys - 31.00 cycles/hash
Small key speed test - 30-byte keys - 33.00 cycles/hash
Small key speed test - 31-byte keys - 34.25 cycles/hash
Average 26.852 cycles/hash
[[[ 'Hashmap' Speed Tests (when inlined) ]]]
std::unordered_map
Init std HashMapTest: 727.298 cycles/op (102401 inserts, 1% deletions)
Running std HashMapTest: 534.865 cycles/op (5.7 stdv)
greg7mdp/parallel-hashmap
Init fast HashMapTest: 587.129 cycles/op (102401 inserts, 1% deletions)
Running fast HashMapTest: 303.709 cycles/op (4.6 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 49930 (359129445572938.94x) !!!!!
Testing collisions (high 32-bit) - Expected 0.6, actual 50642 (84808.71x) (50642) !!!!!
Testing collisions (high 19-26 bits) - Worst is 26 bits: 50642/38 (1325.14x) !!!!!
Testing collisions (high 12-bit) - Expected 50643.0, actual 50642 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 50643.0, actual 50642 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 0.6, actual 49930 (83616.34x) (49930) !!!!!
Testing collisions (low 19-26 bits) - Worst is 26 bits: 49930/38 (1306.51x) !!!!!
Testing collisions (low 12-bit) - Expected 50643.0, actual 49930 (0.99x) (-713)
Testing collisions (low 8-bit) - Expected 50643.0, actual 50387 (0.99x) (-256)
Testing distribution - Worst bias is the 13-bit window at bit 10 - 99.988% !!!!!
Keyset 'Sparse' - 24-bit keys with up to 8 bits set - 1271626 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 1270389 (14492322523560.68x) !!!!!
Testing collisions (high 32-bit) - Expected 376.5, actual 1271625 (3377.54x) (1271249) !!!!!
Testing collisions (high 24-36 bits) - Worst is 36 bits: 1271625/23 (54040.64x) !!!!!
Testing collisions (high 12-bit) - Expected 1271626.0, actual 1271625 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 1271626.0, actual 1271625 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 376.5, actual 1270389 (3374.26x) (1270013) !!!!!
Testing collisions (low 24-36 bits) - Worst is 36 bits: 1270389/23 (53988.11x) !!!!!
Testing collisions (low 12-bit) - Expected 1271626.0, actual 1270389 (1.00x) (-1237)
Testing collisions (low 8-bit) - Expected 1271626.0, actual 1271370 (1.00x) (-256)
Testing distribution - Worst bias is the 17-bit window at bit 11 - 99.999% !!!!!
Keyset 'Sparse' - 32-bit keys with up to 7 bits set - 4514873 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 4513222 (4084279346848.54x) !!!!!
Testing collisions (high 32-bit) - Expected 4746.0, actual 4514872 (951.29x) (4510126) !!!!!
Testing collisions (high 26-39 bits) - Worst is 39 bits: 4514872/37 (121765.51x) !!!!!
Testing collisions (high 12-bit) - Expected 4514873.0, actual 4514872 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 4514873.0, actual 4514872 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 4746.0, actual 4513222 (950.95x) (4508476) !!!!!
Testing collisions (low 26-39 bits) - Worst is 39 bits: 4513222/37 (121721.01x) !!!!!
Testing collisions (low 12-bit) - Expected 4514873.0, actual 4513222 (1.00x) (-1651)
Testing collisions (low 8-bit) - Expected 4514873.0, actual 4514617 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 11 - 100.000% !!!!!
Keyset 'Sparse' - 40-bit keys with up to 6 bits set - 4598479 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 4596491 (4009754800445.41x) !!!!!
Testing collisions (high 32-bit) - Expected 4923.4, actual 4598478 (934.00x) (4593555) !!!!!
Testing collisions (high 26-39 bits) - Worst is 39 bits: 4598478/38 (119551.66x) !!!!!
Testing collisions (high 12-bit) - Expected 4598479.0, actual 4598478 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 4598479.0, actual 4598478 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 4923.4, actual 4596491 (933.59x) (4591568) !!!!!
Testing collisions (low 26-39 bits) - Worst is 39 bits: 4596491/38 (119500.01x) !!!!!
Testing collisions (low 12-bit) - Expected 4598479.0, actual 4596491 (1.00x) (-1988)
Testing collisions (low 8-bit) - Expected 4598479.0, actual 4598223 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 12 - 100.000% !!!!!
Keyset 'Sparse' - 48-bit keys with up to 6 bits set - 14196869 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 14194410 (1299128016455.90x) !!!!!
Testing collisions (high 32-bit) - Expected 46927.3, actual 14196868 (302.53x) (14149941) !!!!!
Testing collisions (high 28-43 bits) - Worst is 43 bits: 14196868/22 (619579.78x) !!!!!
Testing collisions (high 12-bit) - Expected 14196869.0, actual 14196868 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 14196869.0, actual 14196868 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 46927.3, actual 14194410 (302.48x) (14147483) !!!!!
Testing collisions (low 28-43 bits) - Worst is 43 bits: 14194410/22 (619472.51x) !!!!!
Testing collisions (low 12-bit) - Expected 14196869.0, actual 14194410 (1.00x) (-2459)
Testing collisions (low 8-bit) - Expected 14196869.0, actual 14196613 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 12 - 100.000% !!!!!
Keyset 'Sparse' - 56-bit keys with up to 5 bits set - 4216423 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 4213847 (4372302900138.19x) !!!!!
Testing collisions (high 32-bit) - Expected 4139.3, actual 4216422 (1018.63x) (4212283) !!!!!
Testing collisions (high 26-39 bits) - Worst is 39 bits: 4216422/32 (130384.41x) !!!!!
Testing collisions (high 12-bit) - Expected 4216423.0, actual 4216422 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 4216423.0, actual 4216422 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 4139.3, actual 4213847 (1018.01x) (4209708) !!!!!
Testing collisions (low 26-39 bits) - Worst is 39 bits: 4213847/32 (130304.78x) !!!!!
Testing collisions (low 12-bit) - Expected 4216423.0, actual 4213847 (1.00x) (-2576)
Testing collisions (low 8-bit) - Expected 4216423.0, actual 4216167 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 12 - 100.000% !!!!!
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 8060808 (502.11x) (8044755) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 7441443/31 (237328.96x) !!!!!
Testing collisions (high 12-bit) - Expected 8303633.0, actual 8302047 (1.00x) (-1586)
Testing collisions (high 8-bit) - Expected 8303633.0, actual 8303414 (1.00x) (-219)
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 6778970 (549706488991.86x) !!!!!
Testing collisions (high 32-bit) - Expected 52965.5, actual 14839778 (280.18x) (14786813) !!!!!
Testing collisions (high 28-43 bits) - Worst is 43 bits: 13983307/25 (540688.50x) !!!!!
Testing collisions (high 12-bit) - Expected 15082603.0, actual 15081017 (1.00x) (-1586)
Testing collisions (high 8-bit) - Expected 15082603.0, actual 15082384 (1.00x) (-219)
Testing collisions (low 32-bit) - Expected 52965.5, actual 14839778 (280.18x) (14786813) !!!!!
Testing collisions (low 28-43 bits) - Worst is 43 bits: 13983307/25 (540688.50x) !!!!!
Testing collisions (low 12-bit) - Expected 15082603.0, actual 15081017 (1.00x) (-1586)
Testing collisions (low 8-bit) - Expected 15082603.0, actual 15082384 (1.00x) (-219)
Testing distribution - Worst bias is the 20-bit window at bit 12 - 99.998% !!!!!
Keyset 'Sparse' - 96-bit keys with up to 4 bits set - 3469497 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 1963679 (3009243359052.54x) !!!!!
Testing collisions (high 32-bit) - Expected 2802.7, actual 3416508 (1219.02x) (3413706) !!!!!
Testing collisions (high 26-39 bits) - Worst is 39 bits: 3356665/21 (153300.98x) !!!!!
Testing collisions (high 12-bit) - Expected 3469497.0, actual 3468058 (1.00x) (-1439)
Testing collisions (high 8-bit) - Expected 3469497.0, actual 3469250 (1.00x) (-247)
Testing collisions (low 32-bit) - Expected 2802.7, actual 3323159 (1185.71x) (3320357) !!!!!
Testing collisions (low 26-39 bits) - Worst is 39 bits: 3187779/21 (145587.85x) !!!!!
Testing collisions (low 12-bit) - Expected 3469497.0, actual 3466193 (1.00x) (-3304)
Testing collisions (low 8-bit) - Expected 3469497.0, actual 3469241 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 15 - 99.999% !!!!!
Keyset 'Sparse' - 160-bit keys with up to 4 bits set - 26977161 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 14535349 (368428073165.95x) !!!!!
Testing collisions (high 32-bit) - Expected 169446.5, actual 26409439 (155.86x) (26239993) !!!!!
Testing collisions (high 29-45 bits) - Worst is 45 bits: 24548359/20 (1186806.18x) !!!!!
Testing collisions (high 12-bit) - Expected 26977161.0, actual 26973624 (1.00x) (-3537)
Testing collisions (high 8-bit) - Expected 26977161.0, actual 26976905 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 169446.5, actual 26251701 (154.93x) (26082255) !!!!!
Testing collisions (low 29-45 bits) - Worst is 45 bits: 23966873/20 (1158693.87x) !!!!!
Testing collisions (low 12-bit) - Expected 26977161.0, actual 26973590 (1.00x) (-3571)
Testing collisions (low 8-bit) - Expected 26977161.0, actual 26976905 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 16 - 99.999% !!!!!
Keyset 'Sparse' - 256-bit keys with up to 3 bits set - 2796417 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 2493361 (5881677023317.71x) !!!!!
Testing collisions (high 32-bit) - Expected 1820.7, actual 2763697 (1517.91x) (2761877) !!!!!
Testing collisions (high 25-38 bits) - Worst is 38 bits: 2739009/28 (96278.56x) !!!!!
Testing collisions (high 12-bit) - Expected 2796417.0, actual 2795377 (1.00x) (-1040)
Testing collisions (high 8-bit) - Expected 2796417.0, actual 2796209 (1.00x) (-208)
Testing collisions (low 32-bit) - Expected 1820.7, actual 2763697 (1517.91x) (2761877) !!!!!
Testing collisions (low 25-38 bits) - Worst is 38 bits: 2739009/28 (96278.56x) !!!!!
Testing collisions (low 12-bit) - Expected 2796417.0, actual 2795377 (1.00x) (-1040)
Testing collisions (low 8-bit) - Expected 2796417.0, actual 2796209 (1.00x) (-208)
Testing distribution - Worst bias is the 19-bit window at bit 0 - 99.999% !!!!!
Keyset 'Sparse' - 512-bit keys with up to 3 bits set - 22370049 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 20285697 (747783374834.85x) !!!!!
Testing collisions (high 32-bit) - Expected 116512.9, actual 22181121 (190.37x) (22064609) !!!!!
Testing collisions (high 28-44 bits) - Worst is 44 bits: 21782657/28 (765767.29x) !!!!!
Testing collisions (high 12-bit) - Expected 22370049.0, actual 22367361 (1.00x) (-2688)
Testing collisions (high 8-bit) - Expected 22370049.0, actual 22369793 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 116512.9, actual 22181121 (190.37x) (22064609) !!!!!
Testing collisions (low 28-44 bits) - Worst is 44 bits: 21782657/28 (765767.29x) !!!!!
Testing collisions (low 12-bit) - Expected 22370049.0, actual 22367361 (1.00x) (-2688)
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 415233 (27811416132276.04x) !!!!!
Testing collisions (high 32-bit) - Expected 64.1, actual 502273 (7832.69x) (502209) !!!!!
Testing collisions (high 23-33 bits) - Worst is 33 bits: 500545/32 (15611.50x) !!!!!
Testing collisions (high 12-bit) - Expected 524801.0, actual 523393 (1.00x) (-1408)
Testing collisions (high 8-bit) - Expected 524801.0, actual 524545 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 64.1, actual 502273 (7832.69x) (502209) !!!!!
Testing collisions (low 23-33 bits) - Worst is 33 bits: 500545/32 (15611.50x) !!!!!
Testing collisions (low 12-bit) - Expected 524801.0, actual 523393 (1.00x) (-1408)
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.996% !!!!!
Keyset 'Sparse' - 2048-bit keys with up to 2 bits set - 2098177 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 1689345 (7078708624753.54x) !!!!!
Testing collisions (high 32-bit) - Expected 1025.0, actual 2021121 (1971.82x) (2020096) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 1986561/32 (62019.42x) !!!!!
Testing collisions (high 12-bit) - Expected 2098177.0, actual 2095361 (1.00x) (-2816)
Testing collisions (high 8-bit) - Expected 2098177.0, actual 2097921 (1.00x) (-256)
Testing collisions (low 32-bit) - Expected 1025.0, actual 2021121 (1971.82x) (2020096) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 1986561/32 (62019.42x) !!!!!
Testing collisions (low 12-bit) - Expected 2098177.0, actual 2095361 (1.00x) (-2816)
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 2379240 (7640378233603.45x) !!!!!
Testing collisions (high 32-bit) - Expected 1337.5, actual 2396623 (1791.91x) (2395286) !!!!!
Testing collisions (high 25-38 bits) - Worst is 38 bits: 2396623/20 (114682.31x) !!!!!
Testing collisions (high 12-bit) - Expected 2396744.0, actual 2396743 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 2396744.0, actual 2396743 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 1337.5, actual 2396592 (1791.89x) (2395255) !!!!!
Testing collisions (low 25-38 bits) - Worst is 38 bits: 2387079/20 (114225.62x) !!!!!
Testing collisions (low 12-bit) - Expected 2396744.0, actual 2396592 (1.00x) (-152)
Testing collisions (low 8-bit) - Expected 2396744.0, actual 2396592 (1.00x) (-152)
Testing distribution - Worst bias is the 18-bit window at bit 8 - 100.000% !!!!!
*********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 2389336 (7672799199393.56x) !!!!!
Testing collisions (high 32-bit) - Expected 1337.5, actual 2396616 (1791.91x) (2395279) !!!!!
Testing collisions (high 25-38 bits) - Worst is 38 bits: 2395776/20 (114641.78x) !!!!!
Testing collisions (high 12-bit) - Expected 2396744.0, actual 2396736 (1.00x) (-8)
Testing collisions (high 8-bit) - Expected 2396744.0, actual 2396736 (1.00x) (-8)
Testing collisions (low 32-bit) - Expected 1337.5, actual 2396680 (1791.95x) (2395343) !!!!!
Testing collisions (low 25-38 bits) - Worst is 38 bits: 2395818/20 (114643.79x) !!!!!
Testing collisions (low 12-bit) - Expected 2396744.0, actual 2396736 (1.00x) (-8)
Testing collisions (low 8-bit) - Expected 2396744.0, actual 2396736 (1.00x) (-8)
Testing distribution - Worst bias is the 18-bit window at bit 8 - 100.000% !!!!!
*********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 11949145 (1479909336672.01x) !!!!!
Testing collisions (high 32-bit) - Expected 34678.6, actual 12203789 (351.91x) (12169111) !!!!!
Testing collisions (high 27-42 bits) - Worst is 42 bits: 12200728/33 (360266.70x) !!!!!
Testing collisions (high 12-bit) - Expected 12204240.0, actual 12204232 (1.00x) (-8)
Testing collisions (high 8-bit) - Expected 12204240.0, actual 12204232 (1.00x) (-8)
Testing collisions (low 32-bit) - Expected 34678.6, actual 12203109 (351.89x) (12168431) !!!!!
Testing collisions (low 27-42 bits) - Worst is 42 bits: 12130328/33 (358187.91x) !!!!!
Testing collisions (low 12-bit) - Expected 12204240.0, actual 12203948 (1.00x) (-292)
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 - 100.000% !!!!!
*********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 8388246 (2198929670088.03x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388512 (511.99x) (8372129) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388422/31 (262138.34x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388604 (1.00x) (-2)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388604 (1.00x) (-2)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388602 (512.00x) (8372219) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388426/31 (262138.47x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388604 (1.00x) (-2)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388604 (1.00x) (-2)
Testing distribution - Worst bias is the 20-bit window at bit 8 - 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 8379877 (2196735785644.37x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388514 (511.99x) (8372131) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388514/31 (262141.22x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388509 (511.99x) (8372126) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8379877/31 (261871.31x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388509 (1.00x) (-97)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388509 (1.00x) (-97)
Testing distribution - Worst bias is the 20-bit window at bit 7 - 100.000% !!!!!
*********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 8388604 (2199023517695.97x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388604 (512.00x) (8372221) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388604/31 (262144.03x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388604 (1.00x) (-2)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388604 (1.00x) (-2)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388605 (512.00x) (8372222) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388605/31 (262144.06x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
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 8388352 (2198957457368.59x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388605 (512.00x) (8372222) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388605/31 (262144.06x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388352 (511.98x) (8371969) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388352/31 (262136.16x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388352 (1.00x) (-254)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388352 (1.00x) (-254)
Testing distribution - Worst bias is the 20-bit window at bit 8 - 100.000% !!!!!
*********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 8388352 (2198957457368.59x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388605 (512.00x) (8372222) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388605/31 (262144.06x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388352 (511.98x) (8371969) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388352/31 (262136.16x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388352 (1.00x) (-254)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388478 (1.00x) (-128)
Testing distribution - Worst bias is the 20-bit window at bit 9 - 100.000% !!!!!
*********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 8388604 (2199023517695.97x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388604 (512.00x) (8372221) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388604/31 (262144.03x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388604 (1.00x) (-2)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388604 (1.00x) (-2)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388605 (512.00x) (8372222) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388605/31 (262144.06x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
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 8388352 (2198957457368.59x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388605 (512.00x) (8372222) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388605/31 (262144.06x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388352 (511.98x) (8371969) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388352/31 (262136.16x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388352 (1.00x) (-254)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388542 (1.00x) (-64)
Testing distribution - Worst bias is the 20-bit window at bit 10 - 100.000% !!!!!
*********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 8388604 (2199023517695.97x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388604 (512.00x) (8372221) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388604/31 (262144.03x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388604 (1.00x) (-2)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388604 (1.00x) (-2)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388605 (512.00x) (8372222) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388605/31 (262144.06x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
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 8388352 (2198957457368.59x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388605 (512.00x) (8372222) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388605/31 (262144.06x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388352 (511.98x) (8371969) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388352/31 (262136.16x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388352 (1.00x) (-254)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388574 (1.00x) (-32)
Testing distribution - Worst bias is the 20-bit window at bit 11 - 100.000% !!!!!
*********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 8388604 (2199023517695.97x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388604 (512.00x) (8372221) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388604/31 (262144.03x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388604 (1.00x) (-2)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388604 (1.00x) (-2)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388605 (512.00x) (8372222) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388605/31 (262144.06x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
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 8388352 (2198957457368.59x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388605 (512.00x) (8372222) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388605/31 (262144.06x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388352 (511.98x) (8371969) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388352/31 (262136.16x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388352 (1.00x) (-254)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388590 (1.00x) (-16)
Testing distribution - Worst bias is the 20-bit window at bit 12 - 100.000% !!!!!
*********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 8388604 (2199023517695.97x) !!!!!
Testing collisions (high 32-bit) - Expected 16384.0, actual 8388604 (512.00x) (8372221) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 8388604/31 (262144.03x) !!!!!
Testing collisions (high 12-bit) - Expected 8388606.0, actual 8388604 (1.00x) (-2)
Testing collisions (high 8-bit) - Expected 8388606.0, actual 8388604 (1.00x) (-2)
Testing collisions (low 32-bit) - Expected 16384.0, actual 8388605 (512.00x) (8372222) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 8388605/31 (262144.06x) !!!!!
Testing collisions (low 12-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
Testing collisions (low 8-bit) - Expected 8388606.0, actual 8388605 (1.00x) (-1)
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 524288 (8796101410824.00x) !!!!!
Window at 109 - Testing collisions ( 64-bit) - Expected 0.0, actual 524288 (8796101410824.00x) !!!!!
Window at 110 - Testing collisions ( 64-bit) - Expected 0.0, actual 524288 (8796101410824.00x) !!!!!
Window at 111 - Testing collisions ( 64-bit) - Expected 0.0, actual 524288 (8796101410824.00x) !!!!!
Window at 112 - Testing collisions ( 64-bit) - Expected 0.0, actual 524288 (8796101410824.00x) !!!!!
Window at 113 - Testing collisions ( 64-bit) - Expected 0.0, actual 524288 (8796101410824.00x) !!!!!
Window at 114 - Testing collisions ( 64-bit) - Expected 0.0, actual 524288 (8796101410824.00x) !!!!!
Window at 115 - Testing collisions ( 64-bit) - Expected 0.0, actual 524288 (8796101410824.00x) !!!!!
Window at 116 - Testing collisions ( 64-bit) - Expected 0.0, actual 524288 (8796101410824.00x) !!!!!
Window at 117 - Testing collisions ( 64-bit) - Expected 0.0, actual 783360 (13142612459531.95x) !!!!!
Window at 118 - Testing collisions ( 64-bit) - Expected 0.0, actual 912896 (15315867983885.93x) !!!!!
Window at 119 - Testing collisions ( 64-bit) - Expected 0.0, actual 977664 (16402495746062.92x) !!!!!
Window at 120 - Testing collisions ( 64-bit) - Expected 0.0, actual 1010048 (16945809627151.41x) !!!!!
Window at 121 - Testing collisions ( 64-bit) - Expected 0.0, actual 1026240 (17217466567695.66x) !!!!!
Window at 122 - Testing collisions ( 64-bit) - Expected 0.0, actual 1034336 (17353295037967.78x) !!!!!
Window at 123 - Testing collisions ( 64-bit) - Expected 0.0, actual 1038384 (17421209273103.84x) !!!!!
Window at 124 - Testing collisions ( 64-bit) - Expected 0.0, actual 1040408 (17455166390671.88x) !!!!!
Window at 125 - Testing collisions ( 64-bit) - Expected 0.0, actual 1041420 (17472144949455.89x) !!!!!
Window at 126 - Testing collisions ( 64-bit) - Expected 0.0, actual 1041926 (17480634228847.90x) !!!!!
Window at 127 - Testing collisions ( 64-bit) - Expected 0.0, actual 1042179 (17484878868543.90x) !!!!!
Window at 128 - Testing collisions ( 64-bit) - Expected 0.0, actual 1036035 (17381799555135.81x) !!!!!
Window at 129 - Testing collisions ( 64-bit) - Expected 0.0, actual 1023750 (17175691260015.62x) !!!!!
Window at 130 - Testing collisions ( 64-bit) - Expected 0.0, actual 999180 (16763474669775.25x) !!!!!
Window at 131 - Testing collisions ( 64-bit) - Expected 0.0, actual 950040 (15939041489294.50x) !!!!!
Window at 132 - Testing collisions ( 64-bit) - Expected 0.0, actual 851760 (14290175128333.00x) !!!!!
Window at 133 - Testing collisions ( 64-bit) - Expected 0.0, actual 655200 (10992442406410.00x) !!!!!
Window at 134 - Testing collisions ( 64-bit) - Expected 0.0, actual 262080 (4396976962564.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)
*********FAIL*********
[[[ 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 116 (0.50x)
Testing collisions (high 24-35 bits) - Worst is 35 bits: 17/29 (0.58x)
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 465 (2.00x) (233)
Testing collisions (low 24-35 bits) - Worst is 31 bits: 978/465 (2.10x) !!!!!
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 58 - 75.007% !!!!!
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 110 (0.47x)
Testing collisions (high 24-35 bits) - Worst is 34 bits: 32/58 (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 124 (0.53x)
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 17 - 0.165%
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 115 (0.49x)
Testing collisions (high 24-35 bits) - Worst is 27 bits: 3704/7450 (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 125 (0.54x)
Testing collisions (low 24-35 bits) - Worst is 33 bits: 72/116 (0.62x)
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 8 - 0.157%
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 120 (0.52x)
Testing collisions (high 24-35 bits) - Worst is 33 bits: 65/116 (0.56x)
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 138 (0.59x)
Testing collisions (low 24-35 bits) - Worst is 32 bits: 138/232 (0.59x)
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 5 - 0.091%
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 131 (0.56x)
Testing collisions (high 24-35 bits) - Worst is 34 bits: 35/58 (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 230 (0.99x) (-2)
Testing collisions (low 24-35 bits) - Worst is 30 bits: 988/931 (1.06x)
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 50 - 50.016% !!!!!
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 112 (0.48x)
Testing collisions (high 24-35 bits) - Worst is 31 bits: 238/465 (0.51x)
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 921 (3.96x) (689) !!!!!
Testing collisions (low 24-35 bits) - Worst is 34 bits: 270/58 (4.64x) !!!!!
Testing collisions (low 12-bit) - Expected 1000000.0, actual 999488 (1.00x) (-512)
Testing collisions (low 8-bit) - Expected 1000000.0, actual 999968 (1.00x) (-32)
Testing distribution - Worst bias is the 17-bit window at bit 50 - 87.503% !!!!!
*********FAIL*********
[[[ Keyset 'TwoBytes' Tests ]]]
Keyset 'TwoBytes' - up-to-4-byte keys, 652545 total keys
Testing collisions ( 64-bit) - Expected 0.0, actual 650763 (28191767687240.60x) !!!!!
Testing collisions (high 32-bit) - Expected 99.1, actual 652544 (6581.87x) (652445) !!!!!
Testing collisions (high 23-34 bits) - Worst is 34 bits: 652544/24 (26327.49x) !!!!!
Testing collisions (high 12-bit) - Expected 652545.0, actual 652544 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 652545.0, actual 652544 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 99.1, actual 650763 (6563.91x) (650664) !!!!!
Testing collisions (low 23-34 bits) - Worst is 34 bits: 650763/24 (26255.63x) !!!!!
Testing collisions (low 12-bit) - Expected 652545.0, actual 650763 (1.00x) (-1782)
Testing collisions (low 8-bit) - Expected 652545.0, actual 652289 (1.00x) (-256)
Testing distribution - Worst bias is the 16-bit window at bit 11 - 99.998% !!!!!
Keyset 'TwoBytes' - up-to-8-byte keys, 5471025 total keys
Testing collisions ( 64-bit) - Expected 0.0, actual 3648285 (2248387493309.67x) !!!!!
Testing collisions (high 32-bit) - Expected 6969.1, actual 5079854 (728.91x) (5072885) !!!!!
Testing collisions (high 26-40 bits) - Worst is 40 bits: 4819499/27 (177037.15x) !!!!!
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 5079854 (728.91x) (5072885) !!!!!
Testing collisions (low 26-40 bits) - Worst is 40 bits: 4819499/27 (177037.15x) !!!!!
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 12 - 100.000% !!!!!
Keyset 'TwoBytes' - up-to-12-byte keys, 18616785 total keys
Testing collisions ( 64-bit) - Expected 0.0, actual 11441751 (608979778085.03x) !!!!!
Testing collisions (high 32-bit) - Expected 80695.5, actual 17569288 (217.72x) (17488593) !!!!!
Testing collisions (high 28-43 bits) - Worst is 43 bits: 16599558/39 (421285.97x) !!!!!
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 17296295 (214.34x) (17215600) !!!!!
Testing collisions (low 28-43 bits) - Worst is 43 bits: 15637694/39 (396874.49x) !!!!!
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 20 - 100.000% !!!!!
Keyset 'TwoBytes' - up-to-16-byte keys, 44251425 total keys
Testing collisions ( 64-bit) - Expected 0.0, actual 32141064 (302778798152.31x) !!!!!
Testing collisions (high 32-bit) - Expected 455926.3, actual 42724678 (93.71x) (42268752) !!!!!
Testing collisions (high 29-46 bits) - Worst is 46 bits: 40239442/27 (1446029.79x) !!!!!
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 42108441 (92.36x) (41652515) !!!!!
Testing collisions (low 29-46 bits) - Worst is 46 bits: 38767875/27 (1393148.10x) !!!!!
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 20 - 100.000% !!!!!
Keyset 'TwoBytes' - up-to-20-byte keys, 86536545 total keys
Testing collisions ( 64-bit) - Expected 0.0, actual 72073594 (177540240067.62x) !!!!!
Testing collisions (high 32-bit) - Expected 1743569.4, actual 84685719 (48.57x) (82942150) !!!!!
Testing collisions (high 30-48 bits) - Worst is 48 bits: 80408526/26 (3022336.35x) !!!!!
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 84279913 (48.34x) (82536344) !!!!!
Testing collisions (low 30-48 bits) - Worst is 48 bits: 79422163/26 (2985261.66x) !!!!!
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 20 - 100.000% !!!!!
*********FAIL*********
[[[ 'MomentChi2' Tests ]]]
Running 1st unseeded MomentChi2 for the low 32bits/step 3 ... 1649.853105 - 0.028667
Running 2nd seeded MomentChi2 for the low 32bits/step 3 ... 2162.970024 - 0.281456
KeySeedMomentChi2: 848982 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 14299680 (281.29x) (14248844) !!!!!
Testing collisions (high 28-43 bits) - Worst is 37 bits: 9056464/1588 (5700.79x) !!!!!
Testing collisions (high 12-bit) - Expected 14776336.0, actual 14776324 (1.00x) (-12)
Testing collisions (high 8-bit) - Expected 14776336.0, actual 14776334 (1.00x) (-2)
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 13919124 (1175975136803.24x) !!!!!
Testing collisions (high 32-bit) - Expected 50836.3, actual 14772492 (290.59x) (14721656) !!!!!
Testing collisions (high 28-43 bits) - Worst is 43 bits: 14772492/24 (595127.60x) !!!!!
Testing collisions (high 12-bit) - Expected 14776336.0, actual 14775592 (1.00x) (-744)
Testing collisions (high 8-bit) - Expected 14776336.0, actual 14776212 (1.00x) (-124)
Testing collisions (low 32-bit) - Expected 50836.3, actual 14776113 (290.66x) (14725277) !!!!!
Testing collisions (low 28-43 bits) - Worst is 43 bits: 14776113/24 (595273.47x) !!!!!
Testing collisions (low 12-bit) - Expected 14776336.0, actual 14776113 (1.00x) (-223)
Testing collisions (low 8-bit) - Expected 14776336.0, actual 14776113 (1.00x) (-223)
Testing distribution - Worst bias is the 20-bit window at bit 9 - 100.000% !!!!!
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 14776334 (290.67x) (14725498) !!!!!
Testing collisions (high 28-43 bits) - Worst is 43 bits: 14775840/24 (595262.48x) !!!!!
Testing collisions (high 12-bit) - Expected 14776336.0, actual 14776335 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 14776336.0, actual 14776335 (1.00x) (-1)
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 33 - 100.000% !!!!!
*********FAIL*********
[[[ Keyset 'Zeroes' Tests ]]]
Keyset 'Zeroes' - 204800 keys
Testing collisions ( 64-bit) - Expected 0.0, actual 204799 (90071992547409.92x) !!!!!
Testing collisions (high 32-bit) - Expected 9.8, actual 204799 (20971.52x) (204790) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 204799/39 (5242.88x) !!!!!
Testing collisions (high 12-bit) - Expected 204800.0, actual 204799 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 204800.0, actual 204799 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 9.8, actual 204799 (20971.52x) (204790) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 204799/39 (5242.88x) !!!!!
Testing collisions (low 12-bit) - Expected 204800.0, actual 204799 (1.00x) (-1)
Testing collisions (low 8-bit) - Expected 204800.0, actual 204799 (1.00x) (-1)
Testing distribution - Worst bias is the 15-bit window at bit 0 - 99.997% !!!!!
*********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 4999999 (858.99x) (4994179) !!!!!
Testing collisions (high 26-40 bits) - Worst is 40 bits: 4999997/22 (219902.24x) !!!!!
Testing collisions (high 12-bit) - Expected 5000000.0, actual 4999999 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 5000000.0, actual 4999999 (1.00x) (-1)
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 4999488 (1.00x) (-512)
Testing collisions (low 8-bit) - Expected 5000000.0, actual 4999968 (1.00x) (-32)
Testing distribution - Worst bias is the 19-bit window at bit 28 - 100.000% !!!!!
*********FAIL*********
[[[ 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..........
662751 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..........
832692 total collisions, of which 0 single collisions were ignored !!!!!
*********FAIL*********
[[[ DiffDist 'Differential Distribution' Tests ]]]
Testing bit 0
Testing collisions ( 64-bit) - Expected 0.0, actual 2097151 (8796093022208.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
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 1
Testing collisions ( 64-bit) - Expected 0.0, actual 2097151 (8796093022208.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
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 2
Testing collisions ( 64-bit) - Expected 0.0, actual 2097151 (8796093022208.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
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 3
Testing collisions ( 64-bit) - Expected 0.0, actual 2097151 (8796093022208.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
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 4
Testing collisions ( 64-bit) - Expected 0.0, actual 2097151 (8796093022208.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
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 5
Testing collisions ( 64-bit) - Expected 0.0, actual 2097151 (8796093022208.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
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 6
Testing collisions ( 64-bit) - Expected 0.0, actual 2097151 (8796093022208.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
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 7
Testing collisions ( 64-bit) - Expected 0.0, actual 2097151 (8796093022208.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
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 8
Testing collisions ( 64-bit) - Expected 0.0, actual 2097151 (8796093022208.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
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 9
Testing collisions ( 64-bit) - Expected 0.0, actual 2097151 (8796093022208.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
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 10
Testing collisions ( 64-bit) - Expected 0.0, actual 2097151 (8796093022208.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
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 11
Testing collisions ( 64-bit) - Expected 0.0, actual 2097151 (8796093022208.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (low 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
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 2097151 (8796093022208.00x) !!!!!
Testing collisions (high 32-bit) - Expected 1024.0, actual 2097151 (2048.00x) (2096128) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 2097151/31 (65536.00x) !!!!!
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2097151 (1.00x) (-1)