projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c4c618
)
Randomize the dispatch tag cache; don't copy the system state.
author
Taylor R Campbell
<campbell@mumble.net>
Wed, 7 Nov 2018 17:15:13 +0000
(17:15 +0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Wed, 7 Nov 2018 17:15:13 +0000
(17:15 +0000)
src/runtime/dispatch-tag.scm
patch
|
blob
|
history
diff --git
a/src/runtime/dispatch-tag.scm
b/src/runtime/dispatch-tag.scm
index b34755ac3e2cc6021162841b4dd26c8f9a7cc179..5c514916f7e3ce181362bb8657e5d9e6bae107d5 100644
(file)
--- a/
src/runtime/dispatch-tag.scm
+++ b/
src/runtime/dispatch-tag.scm
@@
-104,7
+104,7
@@
USA.
(int:quotient
(let loop ((n 2)) (if (fix:fixnum? n) (loop (int:* n 2)) n))
tag-cache-number-adds-ok))
- (state (make-random-state)))
+ (state (make-random-state
#t
)))
(lambda ()
(random modulus state))))
\f