Re: question
- Posted by uboy <xman at myrealbox.com> Nov 16, 2004
- 541 views
> > ... > > procedure main () > > sequence tmp > > sequence data > > tmp = f () > > data = tmp [2] > > data = append (data, "something") > > ... > > end procedure hello, I'm new here. looking at the docs, this sequence should be faster and cost less memory: data = f() data = data[2] data = append(data,"something") i'm guessing that there is actually no copying going on here at all. (as far as gc, the docs don't refer to a traditional gc. memory is reclaimed continuously rather than in a gc phase) with all interpreters, the best you can do is time stuff. regards, uboy (NZ)