[messages] [Module Design] Independent, Non-linear UNDOs

Joel Uckelman uckelman at nomic.net
Sat May 3 23:11:20 CEST 2014

Thus spake Charles McLellan:
> Is there a limit to the number of traits that a piece can have?  Maybe
> the trait list is too long.

The GUI element which displays traits uses an array interally. Java
arrays are indexed using signed 4-byte integers, which means that you
cannot have an array in Java with more than 2^31 elements.

So, yes, there is a limit, but it's almost certain that you are not
hitting it.


More information about the messages mailing list