summaryrefslogtreecommitdiffstats
path: root/src/H5Dio.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-05-13 20:33:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-05-13 20:33:27 (GMT)
commita3fd0e95a7c179efb956fe1b36ab1af128fe323e (patch)
treecf1e41967ee8cacc38ca487f76e3a1bfdb17d4c9 /src/H5Dio.c
parent5483f1110a65a4c1ef3e55dc7402f2ff3b1208dd (diff)
downloadhdf5-a3fd0e95a7c179efb956fe1b36ab1af128fe323e.zip
hdf5-a3fd0e95a7c179efb956fe1b36ab1af128fe323e.tar.gz
hdf5-a3fd0e95a7c179efb956fe1b36ab1af128fe323e.tar.bz2
[svn-r8513] Purpose:
Code optimization Description: Defer creating the span trees for hyperslab selections until they are actually needed (which may be never, in certain circumstances). Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.9 (sleipnir) w/parallel
Diffstat (limited to 'src/H5Dio.c')
-rw-r--r--src/H5Dio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c
index 068782c..8ccb441 100644
--- a/src/H5Dio.c
+++ b/src/H5Dio.c
@@ -110,7 +110,7 @@ static herr_t H5D_create_chunk_map(H5D_t *dataset, const H5T_t *mem_type,
const H5S_t *file_space, const H5S_t *mem_space, fm_map *fm);
static herr_t H5D_destroy_chunk_map(const fm_map *fm);
static void H5D_free_chunk_info(void *chunk_info);
-static herr_t H5D_create_chunk_file_map_hyper(const fm_map *fm);
+static herr_t H5D_create_chunk_file_map_hyper(fm_map *fm);
static herr_t H5D_create_chunk_mem_map_hyper(const fm_map *fm);
static herr_t H5D_chunk_file_cb(void *elem, hid_t type_id, hsize_t ndims,
hssize_t *coords, void *fm);
@@ -2646,7 +2646,7 @@ done:
*-------------------------------------------------------------------------
*/
static herr_t
-H5D_create_chunk_file_map_hyper(const fm_map *fm)
+H5D_create_chunk_file_map_hyper(fm_map *fm)
{
hssize_t sel_points; /* Number of elements in file selection */
hssize_t sel_start[H5O_LAYOUT_NDIMS]; /* Offset of low bound of file selection */