On 07.07.2008, at 09:59, Pieter Palmers wrote: > Kjetil S. Matheussen wrote: > ... >> *Manually clear allocated memory instead of using calloc. > What is the advantage in doing that? (/me sees an opportunity to > learn)
at least on osx, calloc clears the allocated memory lazily 'on- demand' (see [1]), which might not be what you want in a realtime application. i don't know how it behaves on linux, though. <sk> [1] http://developer.apple.com/documentation/Performance/Conceptual/ ManagingMemory/Articles/MemoryAlloc.html _______________________________________________ Linux-audio-dev mailing list [email protected] http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
