diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2010-03-24 16:42:54 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2010-03-24 16:42:54 (GMT) |
commit | a4dad549967a4ae9a959053876789cde6cb5daa4 (patch) | |
tree | 7b17ac6f487bee02284ab02e0e3b79a329aedfdf /src/H5private.h | |
parent | a844f8b21a92352a69afd12241826f918544e7f0 (diff) | |
download | hdf5-a4dad549967a4ae9a959053876789cde6cb5daa4.zip hdf5-a4dad549967a4ae9a959053876789cde6cb5daa4.tar.gz hdf5-a4dad549967a4ae9a959053876789cde6cb5daa4.tar.bz2 |
[svn-r18446] Purpose: Fix bug 1637
Description:
Modified algorithm for extending a dataset with early allocation so it only
deals with the new chunks. Formerly, it would loop over all chunks, checking
to see if each existed in cache and on disk, causing major performance issues
with large numbers of chunks.
Tested: jam, linew, amani (h5committest)
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h index 71892a4..d0d3ded 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1137,7 +1137,7 @@ H5_DLL int HDfprintf (FILE *stream, const char *fmt, ...); #ifndef HDsrandom #define HDsrandom(S) HDsrand(S) #endif /* HDsrandom */ - #elif H5_HAVE_RANDOM +#elif H5_HAVE_RANDOM #ifndef HDsrand #define HDsrand(S) srandom(S) #endif /* HDsrand */ |