Hi, >> + >> + private static final int DEFAULT_INITIAL_CAPACITY = 101; >> + >> + private static final float DEFAULT_LOAD_FACTOR = 0.75f; >> + >> + private static final int MASK = 0x7FFFFFFF; > > Why are these numbers chosen? Are there any restrictions on changing > them? (e.g. does 101 have to be odd/prime/3 digits/whatever?) > It would be helpful to have some comments - otherwise they are just > magic constants ... >
I'm worried that chose was made in the OGNL early days - only Luke and Drew can explain the reason why but I'm not sure they even joined the ML... :) Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org