Am I doing it wrong?
Emil Madsen
sovende at gmail.com
Sun Oct 3 03:54:06 PDT 2010
So I wrote a program, to find prime numbers, just to check out this pure
thing;
http://gist.github.com/608493
However, the program has a runtime of about 5 seconds? - in my mind, if the
function is pure, shouldn't the compiler insure that it was evaluated at
compiletime? - or am I doing it wrong?
--
// Yours sincerely
// Emil 'Skeen' Madsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20101003/47110099/attachment.html>
More information about the Digitalmars-d
mailing list