diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-11-18 18:53:35 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-11-18 18:53:35 (GMT) |
commit | 49db749a01f37c04ab9366b7832126c01e923dd8 (patch) | |
tree | 2806c3b36055d413392966722e2834a4bd8842b9 /src/H5TBprivate.h | |
parent | 7016b6e5ed1870eba265ac1a06b1683106a18420 (diff) | |
download | hdf5-49db749a01f37c04ab9366b7832126c01e923dd8.zip hdf5-49db749a01f37c04ab9366b7832126c01e923dd8.tar.gz hdf5-49db749a01f37c04ab9366b7832126c01e923dd8.tar.bz2 |
[svn-r9540] Purpose:
Code optimization
Description:
Change threaded, balanced binary tree insertion routine to use more
efficient "fast" search routine when trees with "fast compare" routines have
objects inserted into them.
Platforms tested:
FreeBSD 4.10 (sleipnir) w/parallel
Solaris 2.7 (arabica)
Too minor to require h5committest
Diffstat (limited to 'src/H5TBprivate.h')
-rw-r--r-- | src/H5TBprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5TBprivate.h b/src/H5TBprivate.h index 0e374e3..a58fc39 100644 --- a/src/H5TBprivate.h +++ b/src/H5TBprivate.h @@ -127,7 +127,7 @@ H5_DLL H5TB_NODE *H5TB_less (H5TB_NODE * root, void * key, H5TB_cmp_t cmp, int arg, H5TB_NODE ** pp); H5_DLL H5TB_NODE *H5TB_index (H5TB_NODE * root, unsigned indx); H5_DLL H5TB_NODE *H5TB_dins (H5TB_TREE * tree, void * item, void * key); -H5_DLL H5TB_NODE *H5TB_ins (H5TB_NODE ** root, void * item, void * key, H5TB_cmp_t cmp, int arg); +H5_DLL H5TB_NODE *H5TB_ins (H5TB_NODE ** root, void * item, void * key, unsigned fast_compare, H5TB_cmp_t cmp, int arg); H5_DLL void *H5TB_rem(H5TB_NODE ** root, H5TB_NODE * node, void * *kp); H5_DLL H5TB_TREE *H5TB_dfree (H5TB_TREE * tree, void(*fd) (void *), void(*fk) (void *)); H5_DLL void *H5TB_free (H5TB_NODE ** root, void(*fd) (void *), void(*fk) (void *)); |