mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
De-flake a test of sxhash hash quality
I asked Gemini to do the math on this, and it said that it's no surprise a flake was seen with only 20 objects. Changing to 60 objects reduces the chance of spurious failure to 1 in 5e-16
This commit is contained in:
parent
65f214fd09
commit
42549b22cc
|
|
@ -44,7 +44,7 @@
|
|||
:initial-element 0)))
|
||||
;; with this many sxhashes we should see a 1 bit in
|
||||
;; in each bit position.
|
||||
(when (make-things-for-sxhash-test (+ 20 #-x86-64 10))
|
||||
(when (make-things-for-sxhash-test 60)
|
||||
(gc)
|
||||
(sb-int:dovector (thing *things*)
|
||||
(destructuring-bind (old-addr old-hash object) thing
|
||||
|
|
|
|||
Loading…
Reference in a new issue