Skip to content
Snippets Groups Projects
Commit 87e004b2 authored by Craig Tiller's avatar Craig Tiller
Browse files

Hand build tail recursion to avoid stack overflow

This pair of recursive functions was always supposed to take advantage
of tail recursion. In debug builds we're seeing some instances of stack
overflow however (especially with TensorFlow). Manually apply the tail
recursion optimization to eliminate this.
parent 3cb89bcf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment