Phobos' std.conv.to-conversion from enum to string doesn't scale beyond hundreds of enumerators
Per Nordlöw
per.nordlow at gmail.com
Sun Jun 24 15:49:09 UTC 2018
On Friday, 22 June 2018 at 20:56:58 UTC, Stefan Koch wrote:
>>> How will that perform in CTFE? I'm concerned about swapping
>>> values making it allocate new arrays all over the place.
What about creating a bit-array with the size of the enumerator
count and use that to detect duplicates? How well would a
mutating bitarray play in CTFE?
More information about the Digitalmars-d
mailing list