Overview
| Artifact ID: | 03dbfdc4ded7afce40339a7cc857b5a153496335 |
|---|---|
| Ticket: | 466037ffffffffffffffffffffffffffffffffff
Optimise getting the head/tail of a list |
| User & Date: | andreas_kupries on 2001-09-29 06:40:37 |
Changes
- icomment:
Logged In: YES user_id=75003 So [lindex $foo -1] just pushes an empty object, [lindex $foo end-1] passes index '-1' to the bytecode and [lindex $foo $idx] compiles to something which goes through TclGetForIndex ? Could work.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"