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/H5Zpkg.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/H5Zpkg.h')
0 files changed, 0 insertions, 0 deletions