RE : crazy run-time fluctuations (mostly super-slow) -- a bit more data



On 10/22/11, Oliver Kullmann <O.Kullmann at swansea.ac.uk> wrote:

> The only information seems to be that example at
> http://www.lispworks.com/documentation/HyperSpec/Body/v_rnd_st.htm#STrandom-stateST
> Okay, let's enter it:

>  In form
> (LISP-EVAL
>  (LIST (LOOP FOR I FROM 1 TO 10 COLLECT (RANDOM))
>        (LET ((*RANDOM-STATE* SNAP-SHOT))
>          (LOOP FOR I FROM 1 TO 10 COLLECT (RANDOM)))
>        (LOOP FOR I FROM 1 TO 10 COLLECT (RANDOM))
>        (LET ((*RANDOM-STATE* SNAP-SHOT))
>          (LOOP FOR I FROM 1 TO 10 COLLECT (RANDOM)))))
> Wrong number of arguments passed to function RANDOM.

Heh, that's a good one. RANDOM takes a least one argument,
namely an upper bound.

best

Robert Dodier