diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2000-06-01 23:45:11 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2000-06-01 23:45:11 (GMT) |
commit | ae69e30f76aff9cee3a948d38505fdb33d63a242 (patch) | |
tree | 16c9fe3d9ecf886d619e6d91b38a9593cd3ec85b /src/H5HG.c | |
parent | ecb52e75d3394f8f373ae37ff2487228997b43a4 (diff) | |
download | hdf5-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/H5HG.c')
-rw-r--r-- | src/H5HG.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -42,6 +42,8 @@ typedef struct H5HG_obj_t { } H5HG_obj_t; struct H5HG_heap_t { + H5AC_info_t cache_info; /* Information for H5AC cache functions, _must_ be */ + /* first field in structure */ haddr_t addr; /*collection address */ hbool_t dirty; /*does heap need to be saved? */ size_t size; /*total size of collection */ |