[Issue 8820] Array initialization generates garbage

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 14 12:18:18 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8820



--- Comment #3 from Malte Skarupke <malteskarupke at web.de> 2012-10-14 12:18:14 PDT ---
(In reply to comment #2)
> This is a long-standing, known issue.
> 
> As a side note, it would be better to say that it allocates memory when it
> shouldn't rather than talking about generating garbage. That tends to imply
> that it generates garbage data (which it doesn't), giving the wrong impression
> about what you're talking about. All GC heap memory must naturally be garbage
> collected, so the issue is that it's allocated in the first place rather than
> the fact that it needs to be collected later.

Ah sorry for not seeing the other issue. I searched for "array initialization",
but didn't come across that one. And yeah, I can see there being issues with
the double meaning of garbage in terms of the garbage collector and garbage in
terms of garbage data. I'll use different terminology in the future.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list