El Tuesday 16 October 2007 15:34:15 Andreas Granig escribió:
> Hi,
>
> > AFAIK the conditions are checked in the order they appear and stop as
> > soon as possible. In your case in != INVITE it should be the same.
> >
> > Further, if you use is_method("INVITE") it is even faster.
>
> To be honest, I don't think it really cares in standard scenarios. An
> optimization of some microseconds is next to nothing compared to the
> duration it takes to perform a db or radius request for example.

About duration sure you are right, but what about CPU usage?
An external DB or Radius query can take long time but during that time the CPU 
is no used as if it's doing routing.


-- 
Iñaki Baz Castillo
[EMAIL PROTECTED]

_______________________________________________
Users mailing list
Users@openser.org
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to