summaryrefslogtreecommitdiffstats
path: root/src/H5SL.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-11-29 19:55:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-11-29 19:55:18 (GMT)
commit51ed85b2775eba3923fb9b0c7ee887ff9284cc22 (patch)
treec76fb2b905945864e96824a4422420f314f2606b /src/H5SL.c
parent3e99d8411ccf441b3172a21617d1323ebfff56f2 (diff)
downloadhdf5-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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/H5SL.c b/src/H5SL.c
index bf00071..9370ba7 100644
--- a/src/H5SL.c
+++ b/src/H5SL.c
@@ -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
--------------------------------------------------------------------------*/