Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. 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. 
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"