Overview
| Artifact ID: | d27780674cf9d3afe26aafcf48214f684f772102 |
|---|---|
| Ticket: | 466037ffffffffffffffffffffffffffffffffff
Optimise getting the head/tail of a list |
| User & Date: | msofer on 2001-10-01 19:13:01 |
Changes
- icomment:
Logged In: YES user_id=148712 A small change to Andreas' description, to allow the representation of "end" ('-0'?): let '-1' stand for 'end', so that the previous description becomes: So [lindex $foo -1] just pushes an empty object, [lindex $foo end-1] passes index '-2' to the bytecode and [lindex $foo $idx] compiles to something which goes through TclGetForIndex ? Could work. - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"