[Issue 3700] Ref foreach over large static arrays fails

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 14 09:05:24 PST 2010


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



--- Comment #4 from Don <clugdbug at yahoo.com.au> 2010-01-14 09:05:21 PST ---
(In reply to comment #2)
> You may be right. But consider the following:
> 
> * The "Arrays" page on the D homepage says that "The total size of a static
> array cannot exceed 16Mb." I am only allocating half of that.

That limit is for static arrays (ie, global arrays, or arrays marked 'static'),
not fixed-length arrays. (I wish the spec would stop talking about 'static
arrays' when it means 'fixed-length').
The size of the stack is always limited by the OS, sometimes severely so.

-- 
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