Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F9897368
fib.wsp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
304 B
Referenced Files
None
Subscribers
None
fib.wsp
View Options
(fn fib (n a b)
(if (= n 0) a
(fib (- n 1) b (+ a b))))
(let start (performance.now))
(let result (fib 30 0 1))
(let end (performance.now))
(let elapsed (- end start))
(write "fibonacci(30) = " result "\n")
(write "Time: " (. elapsed toFixed 4) " ms (" (. (* elapsed 1000) toFixed 2) " µs)\n"))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 1, 1:27 PM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
588926
Default Alt Text
fib.wsp (304 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment