Make shared static this() encoding table compilable

Salih Dincer salihdb at hotmail.com
Wed Mar 16 19:24:22 UTC 2022


On Wednesday, 16 March 2022 at 18:40:35 UTC, zhad3 wrote:
> On Tuesday, 15 March 2022 at 03:01:05 UTC, Salih Dincer wrote:
>>
>> OMG, I gasp at my computer screen and waited for minutes. :)
>>
>> When you edit the code at the back-end level, you can use 
>> system resources in the best way. I think you should start 
>> with 
>> [dlang.dmd.backend.aarray](https://github.com/dlang/dmd/blob/master/src/dmd/backend/aarray.d)
>>
>> If we use the following codes with Ali's code by separate the 
>> keys and values, it compiles fast on DMD and works correctly:
>>
>> [snip]
>>
>> SDB at 79
>
> Thank you, but wouldn't using the DMD backend make it so that 
> it won't compile with LDC? I am not that knowledgeable in 
> compiler internals so I don't know.

No need for all files.  Just aarray.d is enough.

SDB at 79


More information about the Digitalmars-d-learn mailing list