[Speex-dev] innov_save, what is it? why does it hurt me so?
    Jean-Marc Valin 
    jean-marc.valin at usherbrooke.ca
       
    Fri Sep 14 06:44:40 PDT 2007
    
    
  
> The big lesson here is that Speex depends upon all allocated memory
> being zeroed.  This is to your advantage in the long run, because it
> saves code size by eliminating all those individual sets to zero.  There
> probably are not very many variables that have this dependence, but it
> is best to assume that any variable might, and clear all allocated memory.
Actually, many variables do assume the memory is cleared. The only
difference with innov_save is that they tend to just produce a click or
something like that instead of crashing.
	Jean-Marc
    
    
More information about the Speex-dev
mailing list