speeding up + ctfe question

sclytrack sclytrack at iq87.fr
Sun May 27 04:38:28 PDT 2012


On 05/27/2012 01:18 PM, maarten van damme wrote:
> well, maybe, looking back at it, a range isn't the ideal way to go
> about generating primes easily. I'm going to implement the sieve of
> Atkin and make it return an array of primes up to a given number. This
> might be a bit more useful and fast.
>
> Is there somewhere I can catch up on ctfe? after reading andrei's book
> and the documentation it's still not clear to me how I could make my
> setquicktestsize function run at compile time.

https://github.com/PhilippeSigaud/D-templates-tutorial


More information about the Digitalmars-d-learn mailing list