I wonder how general your technique is - I mean is it applicable only the to computation you present, or is it generally good for all memory-eating recursive computations ? Can one formulate a general algorithm for this transformation ?
By the way, another technique to ease these computations is Memoization. It is almost always very helpful for recursive algorithms like the one you present.
In reply to Re: Recursively-generated Iterators
by spurperl
in thread Recursively-generated Iterators
by Roy Johnson
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |