Phobos' std.conv.to-conversion from enum to string doesn't scale beyond hundreds of enumerators

Seb seb at wilzba.ch
Sun Jun 24 16:08:37 UTC 2018


On Friday, 22 June 2018 at 20:56:58 UTC, Stefan Koch wrote:
> On Friday, 22 June 2018 at 20:23:51 UTC, Steven Schveighoffer 
> wrote:
>> On 6/22/18 2:15 PM, Steven Schveighoffer wrote:
>>> On 6/22/18 1:41 PM, Stefan Koch wrote:
>>>> (I'd suggest a non-recursive mergesort.)
>>> 
>>> How will that perform in CTFE? I'm concerned about swapping 
>>> values making it allocate new arrays all over the place.
>>
>> This kind of sounded like a fun experiment, so I tried it:
>>
>> https://run.dlang.io/gist/7c23567e0fa2e3b663d0b0695d3c257e
>>
>> No idea of the performance or capability given hundreds of 
>> enum members, but something new to try.
>>
>> -Steve
>
> run.dlang.io is down for me.
> maybe you can provide a gh link?

Huh? There was never any downtime.
Do you still have troubles? (if so, it would be good to figure 
out what's happening)


More information about the Digitalmars-d mailing list