Re: Why does this mixin fail to compile?

2024-08-14 Thread cc via Digitalmars-d-learn
I've been using patterns such as this with no difficulty. ctfe+mixins == it just works. I don't know if there's some character limit where eventually the ctfe string return will give up, but for moderate programs it seems fine. ```d // Copy fields from another struct, wrapping non-primary key

Re: Performance O(??) for associative array lookup

2024-08-14 Thread Guillaume Piolat via Digitalmars-d-learn
On Wednesday, 14 August 2024 at 07:48:58 UTC, Cecil Ward wrote: Does D give any guarantees for performance order-something ? What’s the current lib implementation like? Many thanks in advance. See the graphs in https://dplug.org/tutorials/Dplug%20Tutorials%2018%20-%20The%20Case%20Against%20B