Re: Use of Memory Slices in N-ary Trees



Ah perfect! So you mean that when I create a new node using GNode it will automatically use g_slice_alloc behind the covers? 

On Fri, Jun 25, 2010 at 1:17 PM, Tadej Borovšak <tadeboro gmail com> wrote:
Hello.

GLib uses slice allocator when allocating memory for new nodes which
makes preallocation quite useless.

Tadej

--
Tadej Borovšak
tadeboro.blogspot.com
tadeboro gmail com
tadej borovsak gmail com



--

The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low, and achieving our mark.
- Michelangelo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]