[Issue 22991] GC array literals restricted in size

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 18 22:40:33 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=22991

Stanislav Blinov <stanislav.blinov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stanislav.blinov at gmail.com

--- Comment #3 from Stanislav Blinov <stanislav.blinov at gmail.com> ---
(In reply to Dennis from comment #2)
> Note that the spec currently says:
> 
> > The total size of a static array cannot exceed 16Mb.
> 

Sounds like a totally arbitrary rule that has no good reason to exist. One
could argue, perhaps, for guaranteeing a certain size that all implementations
should provide (i.e. no less than), but setting a hard absolute limit in the
spec? Dubious.

--


More information about the Digitalmars-d-bugs mailing list