Re: g_malloc overhead
- From: muppet <scott asofyet org>
- To: Martín Vales <martin opengeomap org>
- Cc: gtk-devel-list gnome org, gtk-app-devel-list gnome org
- Subject: Re: g_malloc overhead
- Date: Sun, 18 Jan 2009 14:46:35 -0500
On Jan 18, 2009, at 11:43 AM, Martín Vales wrote:
What are the advantages of use a glib_mem_vtable ???. I think we  
have the same malloc function in all operating systems?
This vtable allows you to swap in a different allocator with next to  
no effort.  Maybe it has special OOM handling, or uses a special pool  
or allocation algorithm tuned to your use-case, or does debugging  
logging work, or whatever.  The fact that the default is the same  
everywhere is a bit beside the point of having the functionality.
--
Me:  What's that in your mouth?
Zella:  *swallows laboriously*  Nothing.
Me:  What did you just swallow?
Zella:  A booger.
Me:  Baby girl, don't eat boogers.  That's gross.
Zella:  But it was in my nose.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]