Groovy Trampoline: Unroll the recursive calls into sequential ones and save the JVM stack

30 views
Skip to first unread message

Roshan Dawrani

unread,
Oct 28, 2010, 12:20:58 AM10/28/10
to bangalor...@googlegroups.com, ig...@googlegroups.com
Hi,

For cases where highly recursive calls blow up the JVM call stack, this (potentially) upcoming groovy feature might save you some trouble:
http://www.jroller.com/vaclav/entry/jumping_the_groovy_trampoline

--
Roshan
Groovy Project Despot
http://roshandawrani.wordpress.com/
http://twitter.com/roshandawrani
Reply all
Reply to author
Forward
0 new messages