aboutsummaryrefslogtreecommitdiff
path: root/jim.c
diff options
context:
space:
mode:
authorantirez <antirez>2005-03-02 22:29:31 +0000
committerantirez <antirez>2005-03-02 22:29:31 +0000
commit73b6f39dbcd17189f2817289381796a7f79a1007 (patch)
tree0ecbd62fd2804d3d5ce223e16d6bac840b1f4640 /jim.c
parent788753e626983e9524308bb6f9f92b7f0273b7a1 (diff)
downloadjimtcl-73b6f39dbcd17189f2817289381796a7f79a1007.zip
jimtcl-73b6f39dbcd17189f2817289381796a7f79a1007.tar.gz
jimtcl-73b6f39dbcd17189f2817289381796a7f79a1007.tar.bz2
one more benchmark
Diffstat (limited to 'jim.c')
-rw-r--r--jim.c7
1 files changed, 1 insertions, 6 deletions
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;