diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-04-13 18:30:13 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-04-13 18:30:13 (GMT) |
commit | 10579b3641b648fd64074fd098d904b7a348a48e (patch) | |
tree | 06fb559a835a2bc74881cee6039e3494b252b1f8 /src/H5Dprivate.h | |
parent | acaf0a0107c8cea8f5ec06f5cf6bf0aa2818c031 (diff) | |
download | hdf5-10579b3641b648fd64074fd098d904b7a348a48e.zip hdf5-10579b3641b648fd64074fd098d904b7a348a48e.tar.gz hdf5-10579b3641b648fd64074fd098d904b7a348a48e.tar.bz2 |
[svn-r8346] 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 7068ff5..eff4345 100644 --- a/src/H5Dprivate.h +++ b/src/H5Dprivate.h @@ -135,6 +135,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 |