summaryrefslogtreecommitdiffstats
path: root/src/H5Gnode.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-06-01 23:45:11 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-06-01 23:45:11 (GMT)
commitae69e30f76aff9cee3a948d38505fdb33d63a242 (patch)
tree16c9fe3d9ecf886d619e6d91b38a9593cd3ec85b /src/H5Gnode.c
parentecb52e75d3394f8f373ae37ff2487228997b43a4 (diff)
downloadhdf5-ae69e30f76aff9cee3a948d38505fdb33d63a242.zip
hdf5-ae69e30f76aff9cee3a948d38505fdb33d63a242.tar.gz
hdf5-ae69e30f76aff9cee3a948d38505fdb33d63a242.tar.bz2
[svn-r2318] Rearranged metadata caching to put caching information in the objects being
cached instead of in separate structures. This reduces the amount of memory the hash table uses by about half. This is the initial step along the path of speeding up the metadata caching.
Diffstat (limited to 'src/H5Gnode.c')
-rw-r--r--src/H5Gnode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Gnode.c b/src/H5Gnode.c
index b99653f..d1d8828 100644
--- a/src/H5Gnode.c
+++ b/src/H5Gnode.c
@@ -71,7 +71,7 @@ static size_t H5G_node_sizeof_rkey(H5F_t *f, const void *_udata);
/* H5G inherits cache-like properties from H5AC */
const H5AC_class_t H5AC_SNODE[1] = {{
H5AC_SNODE_ID,
- (void *(*)(H5F_t*, haddr_t, const void*, void*))H5G_node_load,
+ (H5AC_load_func_t)H5G_node_load,
(herr_t (*)(H5F_t*, hbool_t, haddr_t, void*))H5G_node_flush,
}};
@@ -1209,3 +1209,4 @@ H5G_node_debug(H5F_t *f, haddr_t addr, FILE * stream, intn indent,
H5AC_unprotect(f, H5AC_SNODE, addr, sn);
FUNC_LEAVE(SUCCEED);
}
+