[Icfp04-discuss] Scheme, Ruby ?

Arjun Guha guhaarju at grinnell.edu
Wed Jun 16 15:18:07 EDT 2004


Hi, our team built a simulator with PLT Scheme, which can be found at:

http://www.cs.grinnell.edu/~guhaarju/icfp2004-simulator-only.tar.bz2

It takes about a minute on a 2.0 GHz Pentium 4 for one round.  There 
are a lot of optimizations, the primary one being that it preprocesses 
all the ant instructions, creating 20,000 closures (assuming there are 
10,000 instructions per ant), so that I can minimize instruction 
processing.

I also store references to the actual cells as often as possible, to 
avoid lookups in the world matrix.

-Arjun



More information about the Icfp04-discuss mailing list