array literals and the read only segment
Shachar Shemesh via Digitalmars-d
digitalmars-d at puremagic.com
Sun Dec 11 22:28:09 PST 2016
On 11/12/16 21:03, Johan Engelen wrote:
> On Sunday, 11 December 2016 at 12:48:17 UTC, Shachar Shemesh wrote:
>>
>> Is this a know issue?
>
> Which compiler(s) did you test?
>
> -Johan
>
DMD 2.072.1 and ldc 2.070.2
It's easy to verify. Just create a large array (1M) and check the
segment sizes of the result.
Shachar
More information about the Digitalmars-d
mailing list