summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-03-28 19:03:14 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-03-28 19:03:14 (GMT)
commitd5ff54059dda1b7a925361e016193915d3e1cccd (patch)
tree88853dc170e5f3c4b0dc345cd08fcb223710ae9c /unix
parent43308bf3c516fbe56b41a2d8e4ea948c63603b3e (diff)
downloadtcl-dgp_revise_parsedvarnametype.zip
tcl-dgp_revise_parsedvarnametype.tar.gz
tcl-dgp_revise_parsedvarnametype.tar.bz2
There's a "parsedVarName" Tcl_ObjType that remembers how a variable namedgp_revise_parsedvarnametype
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.
Diffstat (limited to 'unix')
0 files changed, 0 insertions, 0 deletions