summaryrefslogtreecommitdiffstats
path: root/test/set_extent.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2010-05-25 20:39:52 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2010-05-25 20:39:52 (GMT)
commit3f837fc3236a7f55004778e4f22f6e12f26c0b70 (patch)
tree489b7a248f0dd0b7ae9467a7585fa71365799525 /test/set_extent.c
parentef292895e9817f7134da9d4a6c7c0c699e01ae9e (diff)
downloadhdf5-3f837fc3236a7f55004778e4f22f6e12f26c0b70.zip
hdf5-3f837fc3236a7f55004778e4f22f6e12f26c0b70.tar.gz
hdf5-3f837fc3236a7f55004778e4f22f6e12f26c0b70.tar.bz2
[svn-r18894] 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 'test/set_extent.c')
-rw-r--r--test/set_extent.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/set_extent.c b/test/set_extent.c
index 172c0ee..0582c41 100644
--- a/test/set_extent.c
+++ b/test/set_extent.c
@@ -55,11 +55,10 @@ const char *FILENAME[] = {
#define DO_RANKS_PRINT_CONFIG(TEST) { \
printf(" Config:\n"); \
printf(" Test: %s\n", TEST); \
- printf(" Compression: %s\n", (config & CONFIG_COMPRESS ? "yes" \
- : "no")); \
+ printf(" Compression: %s\n", (config & CONFIG_COMPRESS ? "yes" : "no")); \
printf(" Fill value: %s\n", (do_fillvalue ? "yes" : "no")); \
- printf(" Early allocation: %s\n", (config & CONFIG_EARLY_ALLOC \
- ? "yes" : "no")); \
+ printf(" Early allocation: %s\n", (config & CONFIG_EARLY_ALLOC ? "yes" \
+ : "no")); \
} /* end DO_RANKS_PRINT_CONFIG */
#define RANK1 1