The question says it all. I was taking a look at Can a recursive function be inline? so trying to correlate that to Java.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.