weird (strange) behavior of sequence-polyline combination
I have a list of points (about 1000 points) named pf.
I needed the distance of each point from the first point. Somebody in the forum (I believe it was "rami") gave me the hint:
Sequence(0 + Polyline(First(pf,n)),n,1,Length(pf)) - it worked AND was fast!
By further analyzing I removed "0 +" in the command above - and now GG freeezes. (This does not happen if I decrease the size of the list to 100 but you can "feel" the delay )
My guess: Because of "0+" only the length of each "Polyline"-command find its way to memory - there were no objects "Polyline" constructed.
Can anybody explain this strange behavior? (is my guess correct?)