simulator (Re: [Icfp04-discuss] three liberal arts)

Laurent DESNOGUES Laurent.DESNOGUES at esterel-technologies.com
Thu Jun 10 17:47:56 EDT 2004


>    Space *board; // (x,y) is at board[y*width + x]

You may gain some more speed if you make width a power of 2
(since you still probably need to access the board depending
on the coords).  Anyway it'd probably be a small gain unless
code size reduction make it fit into L1 Icache :-)


Laurent



More information about the Icfp04-discuss mailing list