Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



But not every recursive function can be inlined (without a secondary stack).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: