Forum Discussion
smp_86112
Cirrostratus
Feb 02, 2010Efficiency of String Comparison
Which statement is more efficent in terms of processing?
[HTTP::uri] equals "/"
or
[HTTP::uri] == "/"
According to my interpretation of the official TCL d...
smp_86112
Cirrostratus
Feb 02, 2010Not sure what's going on here - it seems that the stats only update when I update the iRule, not when I hit the applied VIP. I'm running 9.3.1, and I don't have time to dig into it at the moment - maybe there is some obvious incompatibility.
Regardless, here are the stats I got when I updated the iRule - not sure I trust them, though they do not seems to fit the theory:
(==)
RULE prigge_process_test
+-> RULE_INIT 1 total 1 fail 0 abort
| Cycles (min, avg, max) = (185842, 185842, 185842)
(equals)
RULE prigge_process_test
+-> RULE_INIT 1 total 1 fail 0 abort
| Cycles (min, avg, max) = (188005, 188005, 188005)
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