Overview
| Comment: | There's a "parsedVarName" Tcl_ObjType that remembers how a variable name breaks down into the name of an array and the name of an element. It has been storing them in an intrep as a Tcl_Obj holding the array name and an allocated string holding the element name. This branch revises the intrep strategy to use Tcl_Obj's to hold both parts. This reduces copying and seems to simplify the code. Also "nulled out" the UpdateStringProc for the type which can never be called. I think this is a better answer, but I'd like any other informed opinions. |
|---|---|
| Timelines: | family | ancestors | descendants | both | dgp-revise-parsedvarnametype |
| Files: | files | file ages | folders |
| SHA1: |
65fb3e83f6ac7017c7cbee54140d6edf |
| User & Date: | dgp on 2016-03-28 19:03:14.125 |
| Other Links: | branch diff | manifest | tags |
Context
|
2016-04-04
| ||
| 18:27 | Revise "parsedVarName" Tcl_ObjType to eliminated unnecessary parts and to reduce string copying. check-in: d991496886 user: dgp tags: trunk | |
|
2016-03-28
| ||
| 19:03 | There's a "parsedVarName" Tcl_ObjType that remembers how a variable name breaks down into the name o... closed check-in: 65fb3e83f6 user: dgp tags: dgp-revise-parsedvarnametype | |
|
2016-03-27
| ||
| 21:28 | Better fix for [7d0db7c388f52de81]: In stead of adding dependencies to multiple Makefile lines, comb... check-in: fb6e45132e user: jan.nijtmans tags: trunk | |
Changes
Modified generic/tclVar.c
from [32824bd4fc]
to [bec373d962].
[diff]