[OpenSCAD] Programming in Functional OpenSCAD

NateTG nate-openscadforum at pedantic.org
Tue Jan 30 18:05:25 EST 2018


> ... For instance, the element insertion and re​moving from  2-3 trees have
order O(log n). However, an analysis of your implementation in OpenSCAD will
show that its order of complexity is O(n2) or worst due to the repeated
structure copies required by  any change in it.  ...

Does OpenSCAD never use references (so that if there's some variable a, then
b=[a] is going to create a copy of it)?




--
Sent from: http://forum.openscad.org/




More information about the Discuss mailing list