Actions
Architecture #3136
closedMake sure all the recursive calls are tail-recursive and considered as this by the compiler
Status:
Rejected
Priority:
5 (lowest)
Assignee:
-
Category:
Architecture - Code maintenance
Target version:
Pull Request:
Effort required:
Name check:
Fix check:
Regression:
Description
We tried our best to have tail-recursive methods in our code. However, if the method is neither private nor final, the compiler won't consider it as this, and won't optimize it. This may lead to dreaded java.lang.StackOverflowError
To make sure the compiler is optimizing it, we should @tailrec all these calls
Updated by François ARMAND over 4 years ago
- Status changed from New to Rejected
We are doing what we can :) We now more @tailrec.
Actions