Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
j16sdiz
9 months ago
|
parent
|
context
|
favorite
| on:
Building the Rust Compiler with GCC
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
9 months ago
[–]
But not every recursive function can be inlined (without a secondary stack).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Google "llvm inline recursion". It exists. It should works. Fibonacci is the standard test case.