diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2010-05-25 20:40:38 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2010-05-25 20:40:38 (GMT) |
commit | 842d0d310bd7506a5676412d61e94007a580e666 (patch) | |
tree | c61f0f5301c8c2ec75997777b4f4fc7f4292e717 /src/H5Dcompact.c | |
parent | fdaeddcdcd5191f6cd5b4febf65280a8a68faaeb (diff) | |
download | hdf5-842d0d310bd7506a5676412d61e94007a580e666.zip hdf5-842d0d310bd7506a5676412d61e94007a580e666.tar.gz hdf5-842d0d310bd7506a5676412d61e94007a580e666.tar.bz2 |
[svn-r18895] Purpose: Improve allocation performance of filtered datasets with non-default VL
fill values.
Description:
Previously, H5D_chunk_allocate would, if a dataset were filtered and had a non-default VL fill value, allocate a new buffer for every chunk. Changed
H5D_chunk_allocate to reuse the existing buffer if possible. Also other
miscellaneous cleanup.
Tested: jam, linew, amani (h5committest)
Diffstat (limited to 'src/H5Dcompact.c')
-rw-r--r-- | src/H5Dcompact.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dcompact.c b/src/H5Dcompact.c index 128b07e..4f56833 100644 --- a/src/H5Dcompact.c +++ b/src/H5Dcompact.c @@ -134,7 +134,7 @@ H5D_compact_fill(H5D_t *dset, hid_t dxpl_id) /* Initialize the fill value buffer */ /* (use the compact dataset storage buffer as the fill value buffer) */ - if(H5D_fill_init(&fb_info, dset->shared->layout.storage.u.compact.buf, FALSE, + if(H5D_fill_init(&fb_info, dset->shared->layout.storage.u.compact.buf, NULL, NULL, NULL, NULL, &dset->shared->dcpl_cache.fill, dset->shared->type, dset->shared->type_id, (size_t)0, dset->shared->layout.storage.u.compact.size, dxpl_id) < 0) |