[Users] regexp and performance...

Mahesh Paolini-Subramanya mahesh at corp.aptela.com
Fri Dec 1 20:35:10 CET 2006


Which is more efficient? 
if (uri=~"^sip:foo.*") { 
or 
if (avp_check("$rU", "re/^foo/i")) { 

And, in the long run, given Amdahl's law, does it even matter? 

Enquiring minds want to know 




-- 
******************************************* 
Mahesh Paolini-Subramanya (703) 386-1500 x9100 
CTO mahesh at aptela.com 
Aptela, Inc. http://www.aptela.com 
"Aptela: How Business Answers The Call" 
******************************************* 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20061201/d07e74fd/attachment.htm>


More information about the sr-users mailing list