What is the relative performance difference of if/else versus switch statement in Java?

Posted by Anth0 on Stack Overflow See other posts from Stack Overflow or by Anth0
Published on 2010-01-18T14:09:30Z Indexed on 2010/03/29 15:13 UTC
Read the original article Hit count: 466

Worrying about my web application's performances, I am wondering which of "if/else" or switch statement is better regarding performance?

© Stack Overflow or respective owner

Related posts about java

Related posts about Performance