Memoization in compile-time

Dennis Ritchie via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Mar 13 14:43:29 PDT 2015


On Friday, 13 March 2015 at 21:16:24 UTC, Ali Çehreli wrote:
> On 03/13/2015 12:09 PM, Dennis Ritchie wrote:
>
> > And you can make the same memoized variable was available at
> compile
> > time and at run time? :)
>
> Yes, run-time is always possible and if it can be computed at 
> compile time, compile-time is also possible.

Thanks.


More information about the Digitalmars-d-learn mailing list