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


David Simcha <dsim...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dsim...@yahoo.com
         Resolution|                            |INVALID


--- Comment #1 from David Simcha <dsim...@yahoo.com> 2011-12-11 09:47:56 PST ---
D's GC isn't fully precise yet.  In other words, it can't always tell the
difference between a pointer and a non-pointer.  When you allocate an
80-megabyte array, the probability that some non-pointer will look like it
points into the array if interpreted as a pointer is pretty high.  

This is a fundamental limitation of the current garbage collector design,
rather than a bug.  As a workaround, it's best to use C's malloc for very large
arrays.

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

Reply via email to