Skip to content
Tcl Source Code Artifact [65fb3e83f6]
Login

Artifact [65fb3e83f6]

Artifact 65fb3e83f6ac7017c7cbee54140d6edfa139c782:

Manifest of check-in [65fb3e83f6] - 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. by dgp on 2016-03-28 19:03:14.
B 938b541a95647f70b63920b4e6e4d630698dd03b
C There's\sa\s"parsedVarName"\sTcl_ObjType\sthat\sremembers\show\sa\svariable\sname\nbreaks\sdown\sinto\sthe\sname\sof\san\sarray\sand\sthe\sname\sof\san\selement.\s\sIt\shas\nbeen\sstoring\sthem\sin\san\sintrep\sas\sa\sTcl_Obj\sholding\sthe\sarray\sname\sand\san\nallocated\sstring\sholding\sthe\selement\sname.\s\sThis\sbranch\srevises\sthe\sintrep\nstrategy\sto\suse\sTcl_Obj's\sto\shold\sboth\sparts.\s\sThis\sreduces\scopying\sand\sseems\nto\ssimplify\sthe\scode.\s\sAlso\s"nulled\sout"\sthe\sUpdateStringProc\sfor\sthe\stype\nwhich\scan\snever\sbe\scalled.\s\sI\sthink\sthis\sis\sa\sbetter\sanswer,\sbut\sI'd\slike\nany\sother\sinformed\sopinions.
D 2016-03-28T19:03:14.125
F generic/tcl.h 22aef77e0f551eff9498100c6192fee5c64c5d21
F generic/tclCompCmdsGR.c 82675e4b3816489056f559527fd1543de02d26cb
F generic/tclCompCmdsSZ.c c483661c0b5046b8a0a09c56a1f87b6953375590
F generic/tclCompExpr.c 49269b7a2e7df756c78a74728a6e06576a65886f
F generic/tclCompile.c df256774138b0a39bd1271358f62c9f46d364e38
F generic/tclCompile.h 40f428fd869fa46079efb76637eef3ade4354257
F generic/tclEnsemble.c 319f99b7677d9e01aa6a353d43e998399d907668
F generic/tclExecute.c 5173851d8c72e48d882d6c02bed55415cb03fdf6
F generic/tclHash.c 2d5dfc1d1cae9989f3a22edd42b54689e3ba042c
F generic/tclIOCmd.c e10c696600b77531b2c940aa70e9e48744983b42
F generic/tclStringObj.c 8c04569a47f2b8503a685e6d1c5bb55092885da0
F generic/tclStringRep.h bac7f4be8b89120a37838cdc883d669bd6b74098
F generic/tclVar.c bec373d962d3e3b7afb09c3719ce5c69d4fff372
F library/tzdata/America/Santiago 28fde6eea3d7741a359e32e776175758dabcc856
F library/tzdata/Antarctica/Palmer 9b633f1c15c9571794f15d8bdc9831a58491f7bb
F library/tzdata/Asia/Baku e9953a14e06318cd36a0fff0e964a7d4be706609
F library/tzdata/Asia/Barnaul 43e16efa2b342c6b2c11cefa66394224c12f7d6d
F library/tzdata/Europe/Kaliningrad 9e980855f3d7116265dd01c4822652f03317d07e
F library/tzdata/Europe/Vilnius 72f5f5d280530a67591fc0f88bf272e2975e173c
F library/tzdata/Europe/Volgograd 600c7af3ad2f3d8cddb6a31213ea3e1681437abf
F library/tzdata/Pacific/Easter 68b519faac566095a336774999eeddda7de5752c
F library/word.tcl fcc32ef5b8ed9abf06bffdac99bfb92ec038585d
F tests/compile.test 1e2c26cb62a36d9ca6fdeecf4a01711a84dcbc7e
F tests/lreplace.test c7962deb3220f45fe58c35471ec31cae81af7728
F tests/stringComp.test 7668418dd763c25432df801b2d3eef496a008871
F unix/Makefile.in 98c1ba9c797419a288de9806b7aee7334cc3659d
F unix/configure dbd1b9440b20043e71822953de23ed21297caaf6 x
F unix/tcl.m4 fc1f1e4734a3365220889c691f0c52eb11761f9a
F unix/tclUnixNotfy.c e7a4e80416f7134c50bed518823255d2eec40efb
F unix/tclUnixThrd.c 23c5842371716c014295a31fab9fa9324021f2bb
F win/configure 0e977f3078279015e0b1a9cae3a87a442dd4ae3f x
F win/tcl.m4 20dd4f1294204eedbf55641e41c941bb1e4618f9
F win/tclWinThrd.c 3769388b8b40be3216b8878a67810e88a7b3ec8d
P fb6e45132efb6bcffcec214d53f90a70bede1e07
R 23f13ed3e7884d9ad7f9746fcc76f862
T *branch * dgp-revise-parsedvarnametype
T *sym-dgp-revise-parsedvarnametype *
T -sym-trunk *
U dgp
Z 3f46d9c2047f1e904d931c12e20e340e