actors: Switch random-number-size to be 2^128.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 26 Apr 2016 20:58:55 +0000 (15:58 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 26 Apr 2016 20:58:55 +0000 (15:58 -0500)
* 8sync/systems/actors.scm (random-number-size): Switch to 2^128.

8sync/systems/actors.scm

index 55966f531eba60af75edd83b17b1ca8feb0e9295..f6da0bdf0bf77623f1f25606534271c60843e76b 100644 (file)
@@ -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)))