Overview
| Artifact ID: | 128b18629d92f3b275db8d60789a952179279b0b |
|---|---|
| Ticket: | 1890831fffffffffffffffffffffffffffffffff
Lrange cleanup and in-place optimization |
| User & Date: | dgp on 2008-02-12 00:40:23 |
Changes
- icomment:
Logged In: YES user_id=80530 Originator: NO The patch intrudes a bit into the internal rep of the "list" Tcl_ObjType with the cast to (List *). I'd like a slight refactoring better where that code got moved into tclListObj.c as some internal routine called by Tcl_LrangeObjCmd(). Just a preference to put as much of the code needing to know about "list" intReps over in tclListObj.c as we can. Not a requirement, but something nice to do. I know we're not "pure" by that measure currently. It's about preference and direction. Might be interesting to try the K-free K as well: lrange $l[unset l] 0 end-1
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"