[OpenSCAD] Barnsley Fern recursive

Torsten Paul Torsten.Paul at gmx.de
Thu Sep 13 13:01:19 EDT 2018

On 09/13/2018 03:14 PM, Eric Buijs wrote:
> Ronaldo, a nice comparison of iterative vs tail recursive. The latter took
> almost half an hour to finish on my PC, indeed not so efficient. Thanks.
That is not the fault of the tail recursion elimination. This part is
pretty much the same as a normal loop. As Ronaldo mentioned the slowness
comes from the part where it generates the data by copying everything
for each iteration.


More information about the Discuss mailing list