summaryrefslogtreecommitdiffstats
path: root/src/H5Tpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-05-12 18:40:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-05-12 18:40:29 (GMT)
commit948a94f2be7d25720f9e505fbc2e13eda53bdc03 (patch)
tree6ddadec1f76446d89c9db966d856e87b4bfc7ea5 /src/H5Tpkg.h
parent820a21f61f0f35c03689e457f661c1f7b9296ea5 (diff)
downloadhdf5-948a94f2be7d25720f9e505fbc2e13eda53bdc03.zip
hdf5-948a94f2be7d25720f9e505fbc2e13eda53bdc03.tar.gz
hdf5-948a94f2be7d25720f9e505fbc2e13eda53bdc03.tar.bz2
[svn-r8506] Purpose:
Code optimization Description: Eliminate many redundant lookups to check for no-op type conversion by remembering that a type conversion path is the no-op path. Also, don't allow non-no-op conversions which happen to be no-ops on a particular machine (such as int<->long conversions on machines where int and long are the same size and format, etc.) to replace the default no-op conversion. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.9 (sleipnir) w/parallel
Diffstat (limited to 'src/H5Tpkg.h')
-rw-r--r--src/H5Tpkg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Tpkg.h b/src/H5Tpkg.h
index 4f16ca8..7d891e7 100644
--- a/src/H5Tpkg.h
+++ b/src/H5Tpkg.h
@@ -67,6 +67,7 @@ struct H5T_path_t {
H5T_t *dst; /*destination data type ID */
H5T_conv_t func; /*data conversion function */
hbool_t is_hard; /*is it a hard function? */
+ hbool_t is_noop; /*is it the noop conversion? */
H5T_stats_t stats; /*statistics for the conversion */
H5T_cdata_t cdata; /*data for this function */
};