arrays && functions && pointers
MM
MM_member at pathlink.com
Mon Jun 19 10:41:47 PDT 2006
I did your insanity test.. And here there was no significant speed difference
(also none with -O)
But why do you use:
arr = cast(TILE (*)[TILEW][TILEH])calloc(TILEW*TILEH,TILE.sizeof);
Was that only for the size limit?
I just used:
TILE[TILEW][TILEH] arr;
TILEW && TILEH == 250
(Still the same speed)
Why this is the limit I don't understand, 16MB should be the limit, right?
More information about the Digitalmars-d-learn
mailing list