Factorial/Go: Difference between revisions

m
Factorial isn't a collection
(Created page with "{{collection|Factorial}} An implementation of one of Peter Luschny's [http://www.luschny.de/math/factorial/FastFactorialFunctions.htm fast factorial algorithms]. Fast as this al...")
 
m (Factorial isn't a collection)
Line 1:
{{collection|Factorial}}
An implementation of one of Peter Luschny's [http://www.luschny.de/math/factorial/FastFactorialFunctions.htm fast factorial algorithms]. Fast as this algorithm is, I believe there is room to speed it up more with parallelization and attention to cache effects. The Go library has a nice Karatsuba multiplier but it is yet single threaded.
<lang go>
Anonymous user