6 ms·
What? Why would fib(35) be evaluated at comple time? What if it's fib(1500)? The computers I want to run the program on is way faster than the pi I use for deve
by bobthebuilders 5y ago
What? Why would fib(35) be evaluated at comple time? What if it's fib(1500)? The computers I want to run the program on is way faster than the pi I use for development.
- dataflow 5y ago> What? Why would fib(35) be evaluated at compile time? Same reason why fib(2) might be. > What if it's fib(1500)? Are you familiar with exponential growth? This would take longer than the heat death of the universe, whether you evaluate it at compile time or run time...
- bobthebuilders 5y agoRight, but maybe a military supercomputer could compute such a thing. I know my pi surely can't.