Did you happen to perform any benchmarks before making the switch, so we could see how much faster it is?
I think that a properly ordered switch is going to be faster than a bunch of if/elseif's doing string comp. Just need to make sure that the time doing string -> int and int -> string translations isn't too expensive, else it could be a waste. _________________________________________________________ View thread online: http://main.jboss.org/thread.jsp?forum=66&thread=7990 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
