문제

The question says it all. I was taking a look at Can a recursive function be inline? so trying to correlate that to Java.

도움이 되었습니까?

해결책

Sort of. Tail-recursive methods can be fairly readily converted to loops. Otherwise, the JITC may inline several calls as a sort of "unrolling".

Depends on the phase of the moon and the day of the week, though -- lots of different factors affect the JITC's decisions.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top