All Questions

Tagged with
Filter by
Sorted by
Tagged with
8
votes
6answers
12k views

How efficient is malloc and how do implementations differ?

If I use malloc, does malloc always use the same algorithm regardless of what it is allocating or does it look at the data and select an appriopriate algorithm? Can we make malloc faster or smarter ...