benchmark.parse-bignum: adding a bignum parse benchmark.

db4
John Benediktsson 2013-03-28 06:24:25 -07:00
parent 6a4a7796ed
commit c403857f0d
1 changed files with 9 additions and 0 deletions

View File

@ -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