[jboss-dev-forums] [Design of JBossCache] - Re: JBoss Cache Options API

david.lloyd@jboss.com do-not-reply at jboss.com
Fri Jan 30 10:55:59 EST 2009


IDEA has never (iirc) had a problem with varargs.  But in any case, if you do decide to go with varargs, it might be a good idea to have a varargs-less variation on the method for the no-options case (if it's common) to prevent the empty-array creation on every method invocation.  Though now that I think about it, I don't remember if it makes a significant performance-wise...

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205941#4205941

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205941



More information about the jboss-dev-forums mailing list