summaryrefslogtreecommitdiffstats
path: root/src/H5S.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2013-10-07 22:04:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2013-10-07 22:04:27 (GMT)
commit3a96de8b17df2964f4ad7da5c9742b3bd71b3c38 (patch)
tree93e44fbe16b9b6227fb28f7f415939a1e1602237 /src/H5S.c
parent307f88870c18d050912cb7bb614480420a794a9c (diff)
downloadhdf5-3a96de8b17df2964f4ad7da5c9742b3bd71b3c38.zip
hdf5-3a96de8b17df2964f4ad7da5c9742b3bd71b3c38.tar.gz
hdf5-3a96de8b17df2964f4ad7da5c9742b3bd71b3c38.tar.bz2
[svn-r24262] Description:
Bring r24256 & r24261 from trunk to 1.8 branch: Switch H5I internal data structure from using hash table to skip lists. Also, a few misc. cleanups. Tested on: FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.11 (emu) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (ostrich) w/C++ & FORTRAN, w/threadsafe, in debug mode
Diffstat (limited to 'src/H5S.c')
-rw-r--r--src/H5S.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5S.c b/src/H5S.c
index 2eebba4..1ba0248 100644
--- a/src/H5S.c
+++ b/src/H5S.c
@@ -89,8 +89,7 @@ H5FL_ARR_DEFINE(hsize_t,H5S_MAX_RANK);
/* Dataspace ID class */
static const H5I_class_t H5I_DATASPACE_CLS[1] = {{
H5I_DATASPACE, /* ID class value */
- 0, /* Class flags */
- 64, /* Minimum hash size for class */
+ H5I_CLASS_REUSE_IDS, /* Class flags */
2, /* # of reserved IDs for class */
(H5I_free_t)H5S_close /* Callback routine for closing objects of this class */
}};