Please sign in to comment.
Make ifs and asserts tail-recursive
The local Value object prevented g++ from making a tail call. Not clear why. In any case, not using a temporary makes g++ do the tail call.
- Loading branch information...
Showing with 11 additions and 4 deletions.