Saturday, 24 August 2013

Does java recursion algorithms consume more heap causing additional garbage collection?

Does java recursion algorithms consume more heap causing additional
garbage collection?

If I have two alternative algorithms where the first is based on recursion
and the other is a loop based one, which will cause more garbage
collection ?

No comments:

Post a Comment