Code Size

From Robowiki
Revision as of 02:12, 19 February 2008 by Baal (talk | contribs) (Categorized)
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.