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
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Mon Jul 7 16:15:02 2008
This archive was generated by hypermail 2.1.8 : Mon Jul 07 2008 - 16:15:02 EEST