Hacker News new | ask | show | jobs
by olzd 2815 days ago
The -O3 switch removes a recursive call, among other things (https://godbolt.org/z/oS3Cju).
1 comments

Interesting. (Awesome compiler explorer website, btw).

The Julia version (whose runtime is halfway between the C versions with vs without -O3) contains both recursive calls, FWIW.