Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Iteration vs. Recursion

Name: Anonymous 2008-08-04 16:54

Iteration obviously, unless your algorithm can't possibly be implemented any other way.

Name: Anonymous 2008-08-06 3:55

>>38
A compiler can optimize a tail recursion far better than it can optimize your low-level implementation decisions of how the iteration should work.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List