[Asterisk-Dev] [RFC] strncpy -> ast_copy_string

Derek Smithies derek at indranet.co.nz
Sun May 1 22:09:35 MST 2005


Hi,

The sentence:

> that Asterisk's primary purpose to process calls. 

is not quite correct.

I thought it was:
that Asterisk's primary purpose to process calls in a 100.00% reliable fashion 

Anything that yields reliability has a better chance of success...


Derek.
====================================================
> 
> Okay, let me get this straight.  You want us to use a function that
> performs slightly slower than the library implementation and offers no
> real advantage (other than some belief that it's "more right").  I'm
> scratching my head.  Why are we doing this?
> 
> It might be different if it was actually faster, but you've already
> tested that and found it not to be the case.  Let me remind you that
> Asterisk's primary purpose to process calls.  Anything that slows
> down that processing and decreases the number of calls we're able
> to process needs a real good reason.  Less work is _only_ a valid
> reason if CPU time is decreased.  More work or no, the library
> implementation is faster, so that's what we need to keep.
> 
> 

-- 
Derek Smithies Ph.D.                         
IndraNet Technologies Ltd.                
Email: derek at indranet.co.nz         
ph +64 3 365 6485                          
Web: http://www.indranet-technologies.com/  




More information about the asterisk-dev mailing list