Forum Discussion
hoolio
Cirrostratus
Oct 07, 2009matchclass versus class in v10 for address comparisons?
Is there any advantage to using class match versus matchclass to evaluate an IP address against an address type datagroup?
Here is a simple iRule I used to test class/matchclass for an IP aga...
Colin_Walker_12
Mar 31, 2011Historic F5 Account
And the gains only get bigger and more stark the deeper into the construct the match occurs. For instance, a switch with 500 entries is slightly slower than a class when the match is the 5th or 10th item in the switch. When it's the 498th, the difference is even more apparent. This goes double for things like if/else chains.
Colin
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
