when we do

if (string.equals("this"))

else if (string.equals("that"))

how much slower is it than

switch (stringAsInt)
case THIS:

case THAT:

I assume a lot as String manipulation is just dead slow, but I could be
wrong, I really don't know.

marcf


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to