Can Java's built-in recursive methods (JIT)?

This question says it all. I looked. Can a recursive function be inline? , so I'm trying to match this with Java.

+4
source share
1 answer

Grade. Tail-recursive methods can be converted quite easily into loops. Otherwise, the JITC may include several calls as a kind of β€œdeploy”.

Depends on the moon phase and day of the week, however - many different factors influence JITC decisions.

+2
source

Source: https://habr.com/ru/post/1401805/


All Articles