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:
DBotThePony 2025-03-04 21:06:22 +07:00
parent 257c5edacb
commit 4eb7971717
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -109,7 +109,7 @@ class CMWCRandom(seed: Long = System.nanoTime()) : RandomGenerator, RandomSource
}
companion object {
const val CMWC_STATE_SIZE = 256 // 4096
const val CMWC_STATE_SIZE = 32 // 4096
const val CMWC_CARRY_MAX = 809430660
}
}