[OpenSCAD] recursion limit on concat()
Torsten.Paul at gmx.de
Mon Oct 14 20:30:16 EDT 2019
On 15.10.19 02:34, adrianv wrote:
> That is interesting. So by putting the variables inside
> the for loop it is possible to update variable values with
> dependency on the last iteration?
No, each iteration has a new variable scope just as with
recursion. See the manual for what the recursive call
> I compared run time performance and the run time of the
> iterative solution is not faster than the tail recursive
> one (using the "assert" hack). That's sort of disappointing.
How could it be faster? The resulting evaluation is exactly
More information about the Discuss