--- Comment #3 from wfunct...@hotmail.com 2010-12-10 21:35:51 PST ---
> PS: scope doesn't work on arrays. Your example code never explicitly free's
That explains everything... but then, how do we delete arrays?
> void arrays can potentially contain references, so the GC has to mark()
I had NO IDEA that was the case!! (see below)
> (Why are you using void? 10 dollars on you have no real reason.)
I actually did have a reason, but I was misunderstanding the situation. I used
void's in places where I did not want ubytes to be interpreted as numbers,
so that they would not be dereferenceable. (To me, a void could contain
binary *data*, whereas a ubyte logically means that it contains numbers --
and while it's OK to reference a number in a list, it's *not* OK to me to just
randomly reference an arbitrary block of data, which might contain code inside
Of course, I wasn't understanding their meaning correctly, so I won't do that
anymore; thank you very much for the explanation!!
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------