Code Size

From Robowiki
Revision as of 05:00, 5 December 2007 by David Alves (talk | contribs) (Copying top paragraph from Robowiki.net... not copying any discussion. Wanted to link to this from roborumble.org software.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Codesize is a Java™ utility application. It retrieves the effective code size (amount of Java byte code) from .class files. You can download Christian Schnell's Codesize tool here:

http://user.cs.tu-berlin.de/~lulli/codesize/

CodeSize is used to define the WeightClass for TwinDuel teams, MiniBots, MicroBots, and NanoBots. TwinDuel teams are 1999 bytes or less, MiniBots are 1499 bytes or less, MicroBots are 749 bytes or less, and NanoBots are 249 bytes or less. See the /WritingSmallCode section for suggestions on how to reduce the codesize of your bot.