Re: Faster factorial



Greetings!  Just a followup here -- am getting GCL to work with gmp
4.2, here are the comparative times against your 'k function now:

(time (progn (setq a (si::factorial 100000) c 2) (= a c)))

real time       :      0.250 secs
run-gbc time    :      0.260 secs
child run time  :      0.000 secs
gbc time        :      0.000 secs
NIL

(time (progn (setq a (k 100000 1) c 2) (= a c)))

real time       :      0.390 secs
run-gbc time    :      0.390 secs
child run time  :      0.000 secs
gbc time        :      0.000 secs
NIL


Take care,
-- 
Camm Maguire			     			camm at enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah