diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-09-17 15:42:02 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-09-17 15:42:02 (GMT) |
commit | 9e8b7f29a08923e6c58692e8a6cabbeff08a1fc1 (patch) | |
tree | c01f746565a07960438881838e41c36c7edf4bc7 /src/H5Tprivate.h | |
parent | 5f326d50fae80e26c519a40e9b5d4e631ef7c5dc (diff) | |
download | hdf5-9e8b7f29a08923e6c58692e8a6cabbeff08a1fc1.zip hdf5-9e8b7f29a08923e6c58692e8a6cabbeff08a1fc1.tar.gz hdf5-9e8b7f29a08923e6c58692e8a6cabbeff08a1fc1.tar.bz2 |
[svn-r11424] Purpose:
Code cleanup/bug fix
Description:
Hoist function call out of inner loop of type conversion by retrieving
source & destination precisions once, outside the loop.
There's still some overhead because this information is stored in
variables set at run-time, when it's really constant for the particular
machine. Further work to set compiler macros would allow this code to be
optimized better by the compiler with dead code removal. We'll continue
to work on this area...
Also, made new internal H5T_compiler_conv routine static instead of of
private, until we need to reference it from another source code module.
Platforms tested:
h5committest
FreeBSD 4.11 (sleipnir)
Diffstat (limited to 'src/H5Tprivate.h')
-rw-r--r-- | src/H5Tprivate.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/H5Tprivate.h b/src/H5Tprivate.h index c253136..0ec08a7 100644 --- a/src/H5Tprivate.h +++ b/src/H5Tprivate.h @@ -75,7 +75,6 @@ H5_DLL H5T_class_t H5T_get_class(const H5T_t *dt, htri_t internal); H5_DLL htri_t H5T_detect_class (const H5T_t *dt, H5T_class_t cls); H5_DLL size_t H5T_get_size(const H5T_t *dt); H5_DLL int H5T_cmp(const H5T_t *dt1, const H5T_t *dt2, hbool_t superset); -H5_DLL htri_t H5T_compiler_conv(H5T_t *src, H5T_t *dst); H5_DLL herr_t H5T_debug(const H5T_t *dt, FILE * stream); H5_DLL H5G_entry_t *H5T_entof(H5T_t *dt); H5_DLL htri_t H5T_is_immutable(const H5T_t *dt); |