Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-03-02
22:12 • Closed ticket [1669420fff]: join refactor plus 8 other changes artifact: 2a65be6fd6 user: dgp
2007-02-27
22:19 • Ticket [1669420fff]: 4 changes artifact: 26a41effeb user: dkf
03:02 • Ticket [1669420fff]: 4 changes artifact: 978a84672c user: dgp
03:02 • Add attachment join.patch to ticket [1669420fff] artifact: fdde5a2de4 user: dgp
2007-02-26
20:02 • New ticket [1669420fff] join refactor. artifact: fbb7e4878e user: dgp

[join] refactor

Closed / Accepted1669420fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2007-02-26 20:02:23
Attached patch is a rewrite
of the [join] command.  It
replaces the old implementation,
which explicitly generates and
copies string reps, with a
new implementation that simply
calls Tcl_AppendObjToObj() and
does whatever that does.

This change means that [join]
will receive whatever special
case append efficiencies are
built into Tcl_AppendObjToObj()
both now, and going on into
the future (where we might
imagine, say, ByteArrays getting
some attention).
dgpplain2007-02-27 03:02:24
File Added - 217882: join.patch
dkfplain2007-02-27 22:19:27
Logged In: YES 
user_id=79902
Originator: NO

The use of Tcl_AppendObjToObj instead of Tcl_AppendToObj seems reasonable.
dgpplain2007-03-02 22:12:31
Logged In: YES 
user_id=80530
Originator: YES

committed for 8.5a6
Log in (anonymous is fine) to add a comment.

Attachments: