On Thu, Jul 11, 2013 at 3:15 PM, Robin Hilliard <ro...@rocketboots.com.au>wrote:


> I should point out that because the recursion is on the last line of the
> function this is "tail recursive" - the compiler will notice this and
> optimise the code by throwing away the current stack frame (which would
> have been used by later statements in the function had they existed) each
> time the recursive call is made, so you don't need to worry about a stack
> overflow - this is how functional languages iterate efficiently.
>
>
Are you saying that Railo does tail recursion optimisation?  Do you know if
ACF does tail recursion optimisation?


Chris
--
Chris Velevitch
Manager - Adobe Platform Users Group, Sydney
m: 0415 469 095
www.apugs.org.au

Adobe Platform Users Group, Sydney
Topic: TBD
Date: Monday, 29th July
Details and RSVP on http://www.meetup.com/Sydney-Adobe-Platform-User-Group

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to