]> gitweb.factorcode.org Git - factor.git/blob - extra/benchmark/crc32/crc32.factor
Merge branch 'master' of git://factorcode.org/git/factor
[factor.git] / extra / benchmark / crc32 / crc32.factor
1 USING: io.crc32 io.files kernel math ;
2 IN: benchmark.crc32
3
4 : crc32-primes-list ( -- )
5     10 [
6         "extra/math/primes/list/list.factor" resource-path
7         file-contents crc32 drop
8     ] times ;
9
10 MAIN: crc32-primes-list