Re: Use of Memory Slices in N-ary Trees
- From: Tadej Borovšak <tadeboro gmail com>
- To: Manu Kaul <manu kaul gmail com>
- Cc: Gnome List <gtk-list gnome org>
- Subject: Re: Use of Memory Slices in N-ary Trees
- Date: Fri, 25 Jun 2010 14:22:35 +0200
Hi.
> Ah perfect! So you mean that when I create a new node using GNode it will
> automatically use g_slice_alloc behind the covers?
Yes, nodes are allocated using g_slice_new0(GNode) (unless you have
G_SLICE env variable set to "always-malloc").
Tadej
--
Tadej Borovšak
tadeboro.blogspot.com
tadeboro gmail com
tadej borovsak gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]