X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Frandom.lisp;h=cfcc7fc9594492c10c4bdab34d446c56c37857e4;hb=2fcf367a1f73ad306404d2d2cbe24e9995853881;hp=2ff73367fe3061b288a307cdb65cbfb8d28ac2c6;hpb=85c34f4d1257df20fe1ab6f0d4d476bb3ec0bc63;p=sbcl.git diff --git a/src/code/random.lisp b/src/code/random.lisp index 2ff7336..cfcc7fc 100644 --- a/src/code/random.lisp +++ b/src/code/random.lisp @@ -9,9 +9,9 @@ (in-package "SB!KERNEL") -;;; our implementation of the RANDOM-STATE type specified by ANSI CL +;;; the size of the chunks returned by RANDOM-CHUNK +(def!constant n-random-chunk-bits 32) + (sb!xc:defstruct (random-state (:constructor %make-random-state) - ;; Shallow copy would be wrong: we must - ;; effectively COPY-SEQ the STATE slot. - (:copier nil)) + (:copier nil)) ; since shallow copy is wrong (state (init-random-state) :type (simple-array (unsigned-byte 32) (627))))