[asterisk-users] better enumlookup handler
Brian J. Murrell
brian at interlinx.bc.ca
Wed May 7 15:09:37 CDT 2008
On Wed, 2008-05-07 at 22:54 +0300, Tzafrir Cohen wrote:
> Slightly off-topic:
Yeah.
> On Wed, May 07, 2008 at 10:29:47AM -0400, Brian J. Murrell wrote:
>
> > I guess a code audit will tell. :-) Although I got an impression that
> > it was written in PHP. I'm not much of a fan of PHP. Don't really see
> > the point for something so simple. Bash, Perl (without the overhead of
> > PHP) or even an executable-from-C seems more appropriate for something
> > as relatively simple.
>
> Shell scripts are often very inefficient with respect to execution time.
Indeed.
> They often use subprocesses and other programs for relatively simple
> tasks.
Agreed.
> While running a simple bash (or better: dash) is faster than
> running perl or php, running a modestly complex shell script is often
> slower than running the same thing with perl.
Right. Execve() and library loading and so forth. Understood
completely.
All of that is why I did mention executable-from-C though. :-)
b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080507/3f15a6ae/attachment.pgp
More information about the asterisk-users
mailing list