summaryrefslogtreecommitdiffstats
path: root/src/H5Oprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-07-10 02:28:11 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-07-10 02:28:11 (GMT)
commit34d1d056c92021efc69dc5b671133a46e3f288ec (patch)
treedf10814ab721288161d566a6d6c9d6e42ccbf696 /src/H5Oprivate.h
parentce2c695798a85b30c4aade5d09bf8d32242001ce (diff)
downloadhdf5-34d1d056c92021efc69dc5b671133a46e3f288ec.zip
hdf5-34d1d056c92021efc69dc5b671133a46e3f288ec.tar.gz
hdf5-34d1d056c92021efc69dc5b671133a46e3f288ec.tar.bz2
[svn-r8854] Purpose:
Code optimization Description: Refactor B-tree code to extract all common information for a B-tree into a shared structure that is pointed to by all the nodes in tree (instead of being included in each node). Also re-order B-tree node comparison checks for chunked datasets to check for >= the upper node first, since the comparison is a bit "heavy" and this check is more likely to succeed when you are adding records to the dataset. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest (also, recent h5dump commits have broken testing...)
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r--src/H5Oprivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h
index a87e52d..8992bb4 100644
--- a/src/H5Oprivate.h
+++ b/src/H5Oprivate.h
@@ -134,7 +134,7 @@ typedef struct H5O_layout_chunk_t {
unsigned ndims; /* Num dimensions in chunk */
size_t dim[H5O_LAYOUT_NDIMS]; /* Size of chunk in elements */
size_t size; /* Size of chunk in bytes */
- H5RC_t *rc_page; /* Ref-counted buffer for raw B-tree page */
+ H5RC_t *btree_shared; /* Ref-counted info for B-tree nodes */
} H5O_layout_chunk_t;
typedef struct H5O_layout_compact_t {