StackOverflow Questions for Tag: tail-call-optimization

Arturo Herrero
Arturo Herrero

Reputation: 13140

Tail recursion with Groovy

Score: 7

Views: 3015

Answers: 2

Read More
0xhacker
0xhacker

Reputation: 1119

Optimizations by compiler in a recursive program

Score: 8

Views: 812

Answers: 3

Read More
Dave Berk
Dave Berk

Reputation: 1651

How do I know if a function is tail recursive in F#

Score: 17

Views: 3737

Answers: 3

Read More
WIZARDELF
WIZARDELF

Reputation: 3895

tail-recursive function appending element to list

Score: 9

Views: 5397

Answers: 5

Read More
Enlico
Enlico

Reputation: 28510

Is Tail Call Optimization intentionally not used for `vector<T> foo() { return bar(); }`, given `vector<T> bar();`?

Score: 4

Views: 68

Answers: 0

Read More
notaorb
notaorb

Reputation: 2190

How does recursive tail optimization work?

Score: 2

Views: 163

Answers: 1

Read More
Adrian
Adrian

Reputation: 49

How to return the right array for f(0), tail-call optimized Fibonacci?

Score: -1

Views: 144

Answers: 5

Read More
csl
csl

Reputation: 11368

What are some good ways of implementing tail call elimination?

Score: 22

Views: 5521

Answers: 3

Read More
Jason Baker
Jason Baker

Reputation: 198837

What's the big deal with tail-call optimization and why does Python need it?

Score: 20

Views: 1923

Answers: 4

Read More
Baiyan Huang
Baiyan Huang

Reputation: 6791

tail call optimization in lua

Score: 15

Views: 5723

Answers: 2

Read More
Valentin Vignal
Valentin Vignal

Reputation: 8278

How to avoid Maximum call stack size exceeded when returning a recurring call?

Score: -1

Views: 489

Answers: 2

Read More
Loutag
Loutag

Reputation: 103

Javascript maximum call stack size even though recursive function call itself with an accumulator

Score: 0

Views: 258

Answers: 3

Read More
Voltara
Voltara

Reputation: 13

Tail call optimization in Clojure

Score: 1

Views: 638

Answers: 2

Read More
huynhjl
huynhjl

Reputation: 41646

What is the Scala annotation to ensure a tail recursive function is optimized?

Score: 111

Views: 74146

Answers: 3

Read More
Akim
Akim

Reputation: 8679

How to achieve tail call optimization while traversing tree-like structure using continuation-passing style

Score: 0

Views: 414

Answers: 2

Read More
Plegeus
Plegeus

Reputation: 260

How to do tail call optimisation in Scala3?

Score: 0

Views: 192

Answers: 1

Read More
duong_dajgja
duong_dajgja

Reputation: 4276

Is tail call (including tail recursion) compiler/implementation dependent?

Score: 0

Views: 133

Answers: 1

Read More
a_m0d
a_m0d

Reputation: 12205

Are programs in functional languages more likely to have stack overflows?

Score: 6

Views: 1355

Answers: 5

Read More
Darren Smith
Darren Smith

Reputation: 207

Tail call optimization for procs possible?

Score: 0

Views: 72

Answers: 0

Read More
floxam
floxam

Reputation: 25

Converting a simple recursive haskell function to be tail recursive

Score: 1

Views: 130

Answers: 1

Read More
PreviousPage 1Next