summaryrefslogtreecommitdiffstats
path: root/src/H5Gpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-04-14 04:49:26 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-04-14 04:49:26 (GMT)
commit32aed76605ffaf1c46f91526ce195ca40c0aadc8 (patch)
tree65d705e343698bbed7920cf7f8e2bbbbc739905c /src/H5Gpkg.h
parentf37cc250264ad00bb69e454676f8bc81fd454d40 (diff)
downloadhdf5-32aed76605ffaf1c46f91526ce195ca40c0aadc8.zip
hdf5-32aed76605ffaf1c46f91526ce195ca40c0aadc8.tar.gz
hdf5-32aed76605ffaf1c46f91526ce195ca40c0aadc8.tar.bz2
[svn-r6654] Purpose:
Code cleanup Description: Stop using hard-coded constant for the initial size of the root group's symbol table local heap and use macro. Also, changed existing (unused) macro for the initial heap size to be the same as the hard-coded constant. Platforms tested: FreeBSD 4.8 (sleipnir) w/C++ Linux 2.4 (burrwhite) w/FORTRAN Solaris 2.7 (arabica) w/FORTRAN IRIX64 6.5 (modi4) w/parallel & FORTRAN (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
Diffstat (limited to 'src/H5Gpkg.h')
-rw-r--r--src/H5Gpkg.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/H5Gpkg.h b/src/H5Gpkg.h
index 6c4cf71..5f9adfb 100644
--- a/src/H5Gpkg.h
+++ b/src/H5Gpkg.h
@@ -31,11 +31,9 @@
#include "H5Gprivate.h"
#define H5G_NODE_VERS 1 /*symbol table node version number */
-#define H5G_SIZE_HINT 1024 /*default root grp size hint */
+#define H5G_SIZE_HINT 256 /*default root grp size hint */
#define H5G_NODE_SIZEOF_HDR(F) (H5G_NODE_SIZEOF_MAGIC + 4)
-#define H5G_DEFAULT_ROOT_SIZE 32
-
/*
* A symbol table node is a collection of symbol table entries. It can
* be thought of as the lowest level of the B-link tree that points to