Forum Discussion
Mark_Stradling_
Cirrus
Jul 01, 2010Case Statement Efficiency
Hello,
I'm rewriting very messy iRules. Currently, they are all if / elseif statements which I am converting to switch statements. Upon going through the rule, I realized that a number of va...
The_Bhattman
Nimbostratus
Jul 02, 2010Hi Mark,
I think you would want to use the switch statement, which is similiar to case which is more efficient the the IF-ELSE statements.. Of course it would depend on what you are inspecting in the conditional statement.
Bhattman
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects