From 73b6f39dbcd17189f2817289381796a7f79a1007 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 2 Mar 2005 22:29:31 +0000 Subject: one more benchmark --- jim.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'jim.c') diff --git a/jim.c b/jim.c index ace2ff8..3139a77 100644 --- a/jim.c +++ b/jim.c @@ -3175,12 +3175,7 @@ void DupDictSubstInternalRep(Jim_Interp *interp, Jim_Obj *srcPtr, * to deal with tokens of type JIM_TT_DICTSUGAR. objPtr points to an * object that is *guaranteed* to be in the form VARNAME(INDEX). * The 'index' part is [subst]ituted, and is used to lookup a key inside - * the [dict]ionary contained in variable VARNAME. - * - * TODO: It's possible to create a Jim_Obj type with preparsed - * key/index parts, storing the two parts as objects with the - * advantage of variable lookup caching and compilation of the - * index substitution. */ + * the [dict]ionary contained in variable VARNAME. */ Jim_Obj *Jim_ExpandDictSugar(Jim_Interp *interp, Jim_Obj *objPtr) { Jim_Obj *varObjPtr, *keyObjPtr, *dictObjPtr, *resObjPtr; -- cgit v1.1