speeding up + ctfe question

maarten van damme maartenvd1994 at gmail.com
Mon May 28 03:34:35 PDT 2012


I didn't use divisions or remainders, only multiplications. I've
changed it so it only uses addition and now it still doesn't
outperform a version that only checks odd's. it's not as fast as your
version where every index corresponds to i*2+1 because I fill every
even number with false...


More information about the Digitalmars-d-learn mailing list