diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-04-13 18:30:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-04-13 18:30:33 (GMT) |
commit | e3e3e9ccf0fc8e51a3c8ad7e120d5e4addda0292 (patch) | |
tree | fa7711becbde08a18f72d36b866d76d9970ace04 /src/H5Dprivate.h | |
parent | f441b303f1630d13a942e707a29cc7c573ec7e82 (diff) | |
download | hdf5-e3e3e9ccf0fc8e51a3c8ad7e120d5e4addda0292.zip hdf5-e3e3e9ccf0fc8e51a3c8ad7e120d5e4addda0292.tar.gz hdf5-e3e3e9ccf0fc8e51a3c8ad7e120d5e4addda0292.tar.bz2 |
[svn-r8347] Purpose:
Code optimization
Description:
Eliminate memory allocations for I/O vectors when using the default
vector size.
Platforms tested:
Solaris 2.7 (arabica)
FreeBSD 4.9 (sleipnir)
too minor to require h5committest
Diffstat (limited to 'src/H5Dprivate.h')
-rw-r--r-- | src/H5Dprivate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Dprivate.h b/src/H5Dprivate.h index ea294d1..bef1936 100644 --- a/src/H5Dprivate.h +++ b/src/H5Dprivate.h @@ -119,6 +119,9 @@ #define H5D_XFER_VFL_INFO_SIZE sizeof(void *) #define H5D_XFER_VFL_INFO_DEF NULL /* Definitions for hyperslab vector size property */ +/* (Be cautious about increasing the default size, there are arrays allocated + * on the stack which depend on it - QAK) + */ #define H5D_XFER_HYPER_VECTOR_SIZE_NAME "vec_size" #define H5D_XFER_HYPER_VECTOR_SIZE_SIZE sizeof(size_t) #define H5D_XFER_HYPER_VECTOR_SIZE_DEF 1024 |