OriginalBugID: 2257 RFE
RelatedBugIDs: 2101 2098
The patch for 8.1 also contains some fixes to the Tcl_Set...Obj methods
have already gone into 8.1.1.
[concat] is slow, doesn't scale and destroys internal representations of
because it handles strings and not lists as its documentation describes.
people have used [concat] mistakenly assuming that it handles lists.
The supplied patch (one for 8.1 and one for 8.1.1) fixes up [concat] so
almost as fast as an [lconcat] (also part of the patch) while still
the semantics when working with strings.
generic/tclBinary.c generic/tclResult.c generic/tclStringObj.c
generic/tclBasic.c generic/tclObj.c generic/tclCmdIL.c generic/tclVar.c
generic/tcl.decls generic/tclUtil.c generic/tclInt.h
generic/tclListObj.c generic/tclNamesp.c tests/concat.test doc/concat.n
For 8.3b1, I have made Tcl_ConcatObj work on pure lists and return
a list object. Also, Tcl_EvalObjEx is made list aware for the
TCL_EVAL_DIRECT case. These enhancement should suffice for the
standard cases. A better [lconcat] will be made separately.
-- 12/11/1999 hobbs