diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-09-05 20:53:16 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-09-05 20:53:16 (GMT) |
commit | 23b3a6a91b88e6cbc3474e83fba1e4eb62763126 (patch) | |
tree | 937d5639b467eac5e394f994254e13f9ff2fb166 /src/H5B2stat.c | |
parent | 35fc3a4a83e64dfa25d80fe84e6fd34ae75d7c8f (diff) | |
download | hdf5-23b3a6a91b88e6cbc3474e83fba1e4eb62763126.zip hdf5-23b3a6a91b88e6cbc3474e83fba1e4eb62763126.tar.gz hdf5-23b3a6a91b88e6cbc3474e83fba1e4eb62763126.tar.bz2 |
[svn-r12644] Description:
Improve density of the B-tree further. For greater depths of B-trees,
the gains are over 100%...
Also, don't split internal nodes with 3->4 splits, use a 1->2 split
instead, so that the density of the nodes around a split is maximized.
Tested:
Mac OS X/PPC 10.4 (amazon)
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5B2stat.c')
-rw-r--r-- | src/H5B2stat.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/H5B2stat.c b/src/H5B2stat.c index 1251195..ef58c7f 100644 --- a/src/H5B2stat.c +++ b/src/H5B2stat.c @@ -105,11 +105,8 @@ H5B2_stat_info(H5F_t *f, hid_t dxpl_id, const H5B2_class_t *type, shared = H5RC_GET_OBJ(bt2->shared); /* Get information about the B-tree */ - info->depth = bt2->depth; + info->depth = shared->depth; info->nrecords = bt2->root.all_nrec; - info->branch_nrec = shared->branch_nrec; - info->twig_nrec = shared->twig_nrec; - info->leaf_nrec = shared->leaf_nrec; done: /* Release B-tree header node */ |