On Fri, Feb 12, 2010 at 5:23 PM, Jay Hill <jayallenh...@gmail.com> wrote: > If I've done a lot of research and have a very good idea of where my cache > sizes are having monitored the stats right before commits, is there any > reason why I wouldn't just set the initialSize and size counts to the same > values? Is there any reason to set a smaller initialSize if I know reliably > that where my limit will almost always be?
Probably not much... The only savings will be the 8 bytes (on a 64 bit proc) per unused array slot (in the HashMap). Maybe we should consider removing the initialSize param from the example config to reduce the amount of stuff a user needs to think about. -Yonik http://www.lucidimagination.com