From: Christopher Allan Webber Date: Tue, 26 Apr 2016 20:58:55 +0000 (-0500) Subject: actors: Switch random-number-size to be 2^128. X-Git-Tag: v0.2.0~28 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=18e24b7dbf68db605ae8303120e6ee7b4258837a;p=8sync.git actors: Switch random-number-size to be 2^128. * 8sync/systems/actors.scm (random-number-size): Switch to 2^128. --- diff --git a/8sync/systems/actors.scm b/8sync/systems/actors.scm index 55966f5..f6da0bd 100644 --- a/8sync/systems/actors.scm +++ b/8sync/systems/actors.scm @@ -83,8 +83,8 @@ (define %random-state (make-parameter (random-state-from-platform))) -;; Probably bigger than necessary -(define random-number-size (expt 10 50)) +;; Same size as a uuid4 I think... +(define random-number-size (expt 2 128)) (define (big-random-number) (random random-number-size (%random-state)))