summaryrefslogtreecommitdiffstats
path: root/src/H5Gstab.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-05-03 18:53:50 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-05-03 18:53:50 (GMT)
commit08b55972053dec4b9c7cd5a2480355869b7c0663 (patch)
tree441b660b613b35d098611eb5493b55f2429d710f /src/H5Gstab.c
parent1d381a91e759443cbde4620c254d658eff1e8f6f (diff)
downloadhdf5-08b55972053dec4b9c7cd5a2480355869b7c0663.zip
hdf5-08b55972053dec4b9c7cd5a2480355869b7c0663.tar.gz
hdf5-08b55972053dec4b9c7cd5a2480355869b7c0663.tar.bz2
[svn-r8472] Purpose:
Code optimization Description: Eliminate the B-tree "split_ratios" as a parameter and pull it from the DXPL instead. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.9 (sleipnir) w/parallel too minor to require h5committest
Diffstat (limited to 'src/H5Gstab.c')
-rw-r--r--src/H5Gstab.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Gstab.c b/src/H5Gstab.c
index f92383a..4804cff 100644
--- a/src/H5Gstab.c
+++ b/src/H5Gstab.c
@@ -216,7 +216,6 @@ H5G_stab_insert(H5G_entry_t *grp_ent, const char *name, H5G_entry_t *obj_ent, hi
{
H5O_stab_t stab; /*symbol table message */
H5G_bt_ud1_t udata; /*data to pass through B-tree */
- static double split_ratios[3] = {0.1, 0.5, 0.9};
herr_t ret_value=SUCCEED; /* Return value */
FUNC_ENTER_NOAPI(H5G_stab_insert, FAIL);
@@ -242,7 +241,7 @@ H5G_stab_insert(H5G_entry_t *grp_ent, const char *name, H5G_entry_t *obj_ent, hi
H5G_ent_copy(&(udata.ent),obj_ent,H5G_COPY_NULL); /* NULL copy here, no copies happens in H5G_node_insert() callback() */
/* insert */
- if (H5B_insert(grp_ent->file, dxpl_id, H5B_SNODE, stab.btree_addr, split_ratios, &udata) < 0)
+ if (H5B_insert(grp_ent->file, dxpl_id, H5B_SNODE, stab.btree_addr, &udata) < 0)
HGOTO_ERROR(H5E_SYM, H5E_CANTINSERT, FAIL, "unable to insert entry");
/* update the name offset in the entry */