summaryrefslogtreecommitdiffstats
path: root/src/H5Dio.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-05-13 20:33:20 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-05-13 20:33:20 (GMT)
commit19704681e19ad6e3d10d36f3337143c887f2baac (patch)
treef3ae7aa0c71b0084acd6d08e03f45f0df9d66886 /src/H5Dio.c
parentf0c2b247e2745e7ec578f5274937e8a438a3a08b (diff)
downloadhdf5-19704681e19ad6e3d10d36f3337143c887f2baac.zip
hdf5-19704681e19ad6e3d10d36f3337143c887f2baac.tar.gz
hdf5-19704681e19ad6e3d10d36f3337143c887f2baac.tar.bz2
[svn-r8512] 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 10845c9..8629744 100644
--- a/src/H5Dio.c
+++ b/src/H5Dio.c
@@ -111,7 +111,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(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);
@@ -2584,7 +2584,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 */