Difference between revisions of "Code Size"

From Robowiki
Jump to navigation Jump to search
m
m (add link to cheat sheet)
Line 10: Line 10:
 
== See Also ==
 
== See Also ==
 
* [[Help:Help/Code Shrinking|Code Shrinking Help Request]]
 
* [[Help:Help/Code Shrinking|Code Shrinking Help Request]]
 +
* [[/Cheat sheet|Cheat sheet]] on how to reduce the codesize.
  
 
[[Category:Utilities|Code Size]]
 
[[Category:Utilities|Code Size]]

Revision as of 13:19, 4 May 2009

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.

Old robowiki discussion migrated: CodeSize/Old discussion

See Also