benchmark.parse-bignum: adding a bignum parse benchmark.
parent
6a4a7796ed
commit
c403857f0d
|
@ -0,0 +1,9 @@
|
|||
USING: kernel math math.parser sequences ;
|
||||
IN: benchmark.parse-bignum
|
||||
|
||||
: parse-bignum-benchmark ( -- )
|
||||
3000 iota [
|
||||
2^ [ number>string string>number ] [ assert= ] bi
|
||||
] each ;
|
||||
|
||||
MAIN: parse-bignum-benchmark
|
Loading…
Reference in New Issue