Is it possible to collect object usage information during compilation?

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 10 05:09:39 PST 2015


On 01/10/2015 01:36 PM, Martin Nowak wrote:
>
> The idea isn't bad, but the performance will suck. This is generally
> known as N+1 query, only that this is even worse, as each field is
> queried individually.
>
> Here is a sketch for an optimal solution. I'm actually eagerly waiting
> that someone finally implements it.
>
> http://dpaste.dzfl.pl/cd375ac594cf

I also added a where clause, with a very simple expression template capture.

http://dpaste.dzfl.pl/cd375ac594cf#line-140



More information about the Digitalmars-d mailing list