dimanche 5 mai 2013

Number 123456 again

And prize for the best usage of GMP goes to Bigloo Scheme.




alexey at daphne in ~/Projects/tests$ bigloo -O3 fact.scm
ld: warning: option -s is obsolete and being ignored
alexey at daphne in ~/Projects/tests$ ./a.out
Recursive factorial: 4.44 sec
Iterative factorial: 3.96 sec
It has only factor of 2 compared to C version.

Aucun commentaire:

Enregistrer un commentaire