Forum Discussion
Jack_39703
Nimbostratus
Jul 27, 2009contains? starts_with? equals?
hi there
i have a existing iRule as follow
when HTTP_REQUEST {
if { [HTTP::uri] contains "/123/"} {
pool 123
}
elseif { [HTTP::uri] s...
Chris_Miller
Altostratus
Sep 20, 2010Posted By anthony@qut on 09/19/2010 06:10 PM
Hi
I have a question relating to the speed of processing between the if ( starts_with)and switch (-glob). I know that switch is normall faster than an if else, but is it still faster with the glob?
Anthony
Everything I've seen says yes. You can use "timing" to check the CPU cycles. http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=123
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
