CTFE Status
Dmitry Olshansky via Digitalmars-d
digitalmars-d at puremagic.com
Thu Dec 15 15:05:55 PST 2016
On 12/15/16 10:21 AM, Nordlöw wrote:
> On Wednesday, 14 December 2016 at 08:40:34 UTC, Stefan Koch wrote:
>> String-Switches are supported now.
>
> Cool, this is a crucial requirement for pattern matching in parser
> generators, like Pegged and alikes. Is it worth giving newCTFE a try
> with these things now?
>
Afaik string switches are implemented as a fairly slow hash table.
Optimal solutions like building a trie would be a nice enhancement.
---
Dmitry Olshansky
More information about the Digitalmars-d
mailing list