Further reduce internal state of CMWC (from 1024 octets / 8192 bits to just 128 octets / 1024 bits) because we don't need these insane periods
This commit is contained in:
parent
257c5edacb
commit
4eb7971717
@ -109,7 +109,7 @@ class CMWCRandom(seed: Long = System.nanoTime()) : RandomGenerator, RandomSource
|
|||||||
}
|
}
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
const val CMWC_STATE_SIZE = 256 // 4096
|
const val CMWC_STATE_SIZE = 32 // 4096
|
||||||
const val CMWC_CARRY_MAX = 809430660
|
const val CMWC_CARRY_MAX = 809430660
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user