diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-11-29 19:55:22 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-11-29 19:55:22 (GMT) |
commit | 3eea418b507d9a561606c658eba5c6b0158f520d (patch) | |
tree | a078df946bd474414f804e0eda695e7c018dae59 /src/H5SL.c | |
parent | e911ab10ee38c352389bdb9360014f3e314adf2f (diff) | |
download | hdf5-3eea418b507d9a561606c658eba5c6b0158f520d.zip hdf5-3eea418b507d9a561606c658eba5c6b0158f520d.tar.gz hdf5-3eea418b507d9a561606c658eba5c6b0158f520d.tar.bz2 |
[svn-r9597] Purpose:
Code optimization
Description:
Retarget metadata cache code from using TBBT routines to using new skiplist
routines, for a reasonable speedup (when dealing with dirty metadata)
Platforms tested:
FreeBSD 4.10 (sleipnir) w/parallel
Solaris 2.7 (arabica)
Too minor to require h5committest
Diffstat (limited to 'src/H5SL.c')
-rw-r--r-- | src/H5SL.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -47,8 +47,7 @@ /* Define the code template for insertions for the "OP" in the H5SL_FIND macro */ #define H5SL_FIND_INSERT_FOUND(SLIST,X,UPDATE,I,ITEM) \ - X->item=ITEM; \ - HGOTO_DONE(SUCCEED); + HGOTO_DONE(FAIL); /* Define the code template for removals for the "OP" in the H5SL_FIND macro */ #define H5SL_FIND_REMOVE_FOUND(SLIST,X,UPDATE,I,ITEM) \ @@ -386,8 +385,7 @@ H5SL_count(H5SL_t *slist) Insert element into a skip list. GLOBAL VARIABLES COMMENTS, BUGS, ASSUMPTIONS - Inserting an item with the same key as an existing object replaces - the existing object's item pointer with the new item pointer. + Inserting an item with the same key as an existing object fails. EXAMPLES REVISION LOG --------------------------------------------------------------------------*/ |