v0.3.0-dev-9 #324

Merged
altavir merged 265 commits from dev into master 2021-05-08 17:16:29 +03:00
Showing only changes of commit 41d0be8085 - Show all commits

View File

@ -18,10 +18,10 @@ internal class BigIntBenchmark {
val kmNumber = BigIntField.number(Int.MAX_VALUE) val kmNumber = BigIntField.number(Int.MAX_VALUE)
val largeKmNumber = BigIntField { val largeKmNumber = BigIntField {
fun BigInt.pow10(): BigInt = power(10, ::multiply) fun BigInt.pow10(): BigInt = power(10, ::multiply)
number(11).pow10().pow10().pow10() number(11).pow10().pow10().pow10().pow10().pow10()
} }
val jvmNumber = JBigIntegerField.number(Int.MAX_VALUE) val jvmNumber = JBigIntegerField.number(Int.MAX_VALUE)
val largeJvmNumber = JBigIntegerField { number(11).pow(1000) } val largeJvmNumber = JBigIntegerField { number(11).pow(100_000) }
val bigExponent = 50_000 val bigExponent = 50_000
@Benchmark @Benchmark