4 ms·
recursive function can be inline when unrolled. This is a valid optimization. Google "llvm inline recursion". It exists. It should works. Fibonacci is the sta
by j16sdiz 1y ago
recursive function can be inline when unrolled.
This is a valid optimization.
Google "llvm inline recursion". It exists. It should works. Fibonacci is the standard test case.
- 1718627440 1y agoBut not every recursive function can be inlined (without a secondary stack).