diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-09-12 15:25:35 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-09-12 15:25:35 (GMT) |
commit | d3a12e1058e9afcb77b265a88690f1d3d5190fd7 (patch) | |
tree | 407aafe3aa82cbebd081f14ac042f869eb25e553 /src/H5private.h | |
parent | 314b3f597b0656820598ab89295af96fea24fd63 (diff) | |
download | hdf5-d3a12e1058e9afcb77b265a88690f1d3d5190fd7.zip hdf5-d3a12e1058e9afcb77b265a88690f1d3d5190fd7.tar.gz hdf5-d3a12e1058e9afcb77b265a88690f1d3d5190fd7.tar.bz2 |
[svn-r12661] Description:
Add 'loookup3' checksum routine and switch to using it for metadata
checksums - it's just as "strong" as the CRC32 and about 40% faster in general
(with some compiler optimizations, it's nearly as fast as the fletcher-32
algorithm).
Tested on:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h index e9beabd..254c2eb 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1449,6 +1449,7 @@ H5_DLL int H5Z_term_interface(void); /* Checksum functions */ H5_DLL uint32_t H5_checksum_fletcher32(const void *data, size_t len); H5_DLL uint32_t H5_checksum_crc(const void *data, size_t len); +H5_DLL uint32_t H5_checksum_lookup3(const void *data, size_t len); H5_DLL uint32_t H5_checksum_metadata(const void *data, size_t len); /* Functions for debugging */ |