(def random (n1 (o n2 0)) (if (is n2 0) (swap n1 n2)) (+ (rand (- (1up n2) n1)) n1))
(until (is (len winset) set-count) (insortnew < (random bottom top) winset))
arc> (time (repeat 1000 (random 50))) time: 12 msec. arc> (time (repeat 1000 (rand 50))) time: 2 msec. .... so .... re-take :) (def random (n1 (o n2 nil)) (if (no n2) (1up:rand n1) (+ (rand (- (1up n2) n1)) n1))) arc> (time (repeat 1000 (random 50))) time: 3 msec.
-----