diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2000-09-22 19:28:05 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2000-09-22 19:28:05 (GMT) |
commit | 7bd50661fe8096cafb488fc19b9f87fffd69a325 (patch) | |
tree | c321c0e1da0cbdd5d2c82306adf81e20b315cd1d /src/H5Zprivate.h | |
parent | 57ed75800a0ff96eeae1d076602b3f89740d7c8c (diff) | |
download | hdf5-7bd50661fe8096cafb488fc19b9f87fffd69a325.zip hdf5-7bd50661fe8096cafb488fc19b9f87fffd69a325.tar.gz hdf5-7bd50661fe8096cafb488fc19b9f87fffd69a325.tar.bz2 |
[svn-r2587] Purpose:
Bug fix (sorta)
Description:
When the stride and block size of a hyperslab selection are equal, the
blocks that are selected are contiguous in the dataset. Prior to my
hyperslab optimizations, this situation used to be detected and somewhat
optimized to improve performance. I've added more code to optimize for
this situation and integrated it with the new hyperslab optimization that
weren't very efficient for that case as they should have been.
Solution:
Detect contiguous hyperslab selections (i.e. block size in a dimension is
the same as the stride in that dimension) and store the optimized,
contiguous version of that hyperslab. We also store the original, un-
optimized version of the hyperslab to give back to the user if they query
the hyperslab selection they just made.
Platforms tested:
FreeBSD 4.1
Diffstat (limited to 'src/H5Zprivate.h')
0 files changed, 0 insertions, 0 deletions