Should std.conv:parse parse html entities?

James Blachly james.blachly at gmail.com
Tue Aug 18 01:13:30 UTC 2020


On 8/17/20 12:44 PM, Sebastiaan Koppe wrote:
> On Friday, 15 November 2019 at 01:13:27 UTC, Jonathan Marler wrote:
>> On Thursday, 14 November 2019 at 20:23:57 UTC, berni44 wrote:
>>> On Thursday, 14 November 2019 at 18:14:07 UTC, Suleyman wrote:
>>>> What is the concern about the table? Is it binary size, runtime 
>>>> performance, or something else?
>>>
>>> I think binary size. Runtime shouldn't be a problem, because it 
>>> should be possible to implement a perfect hash table for that (or an 
>>> other fast lookup method).
>>
>> A compile-time perfect hash generator sounds like a really nice 
>> feature. Someone should get on that.
> 
> Mine gets pretty close, if only there was a compile time random number 
> generator: https://github.com/skoppe/perfect-hash

Does this trick still work?

https://p0nce.github.io/d-idioms/#Compile-time-RNG


More information about the Digitalmars-d mailing list