<
tankf33der>
hi all
<
tankf33der>
new task is done:
<
tankf33der>
pi value is correct except last several digits.
<
Regenaxer>
Does 'cache' make sense for 'fact'? It recurses only once
<
tankf33der>
will remove
<
Regenaxer>
or make a 'for' loop if stack is critical
<
tankf33der>
nasty task, spent several days.
<
Regenaxer>
yes, looks tricky!
<
Regenaxer>
What is the shortest way to make a non-recursive factorial in pil?
<
tankf33der>
For loop
<
Regenaxer>
With 'apply'
<
Regenaxer>
'apply' and 'range' are expensive though. I thought a loop
<
Regenaxer>
But interesting! The 'apply' version is sill the fastest (if you do (gc 9) before)
yagamisa1o has joined #picolisp
aw- has quit [Ping timeout: 240 seconds]
clacke has quit [Remote host closed the connection]
clacke has joined #picolisp