diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-11-29 19:55:18 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-11-29 19:55:18 (GMT) |
commit | 51ed85b2775eba3923fb9b0c7ee887ff9284cc22 (patch) | |
tree | c76fb2b905945864e96824a4422420f314f2606b /src/H5SL.c | |
parent | 3e99d8411ccf441b3172a21617d1323ebfff56f2 (diff) | |
download | hdf5-51ed85b2775eba3923fb9b0c7ee887ff9284cc22.zip hdf5-51ed85b2775eba3923fb9b0c7ee887ff9284cc22.tar.gz hdf5-51ed85b2775eba3923fb9b0c7ee887ff9284cc22.tar.bz2 |
[svn-r9596] 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) \ @@ -381,8 +380,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 --------------------------------------------------------------------------*/ |