aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-01-19 19:56:20 +0000
committerEvan Huus <eapache@gmail.com>2013-01-19 19:56:20 +0000
commit669b98bb5ff1bf84fdf4cf8e75542902bc8463b3 (patch)
tree88d5f0480f53ac8d47670bced9ec077367f18eac /doc
parent1390569a9940e06cf066c63abf196e46c7f0ef6c (diff)
Rewrite wmem_allocator_simple to track allocations using a GHashTable instead of
a GSList. This permits it to implement the new realloc and free functions. Also fill in an empty gc function, since there isn't much it can do as far as garbage-collection goes. svn path=/trunk/; revision=47169
Diffstat (limited to 'doc')
-rw-r--r--doc/README.wmem2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/README.wmem b/doc/README.wmem
index 21d24f2898..7740d7f37a 100644
--- a/doc/README.wmem
+++ b/doc/README.wmem
@@ -139,7 +139,7 @@ wmem_allocator_type_t enumeration defined in wmem_core.h.
The currently available allocators are:
- WMEM_ALLOCATOR_SIMPLE (wmem_allocator_simple.*)
A trivial allocator that g_allocs requested memory and tracks
- allocations via a simple linked list.
+ allocations via a GHashTable.
- WMEM_ALLOCATOR_BLOCK (wmem_allocator_block.*)
A block allocator that grabs large chunks of memory at a time
(8 MB currently) and serves allocations out of those chunks.