Tcl Source Code

View Ticket
Login
Ticket UUID: 1017483
Title: TIP#217: Getting Sorted Indices out of Lsort
Type: Patch Version: TIP Implementation
Submitter: nobody Created on: 2004-08-27 10:01:20
Subsystem: 17. Commands I-L Assigned To: dkf
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-08-27 19:59:39
Resolution: Out of Date Closed By: dkf
    Closed on: 2004-08-27 12:59:39
Description:
Reference Implementation for TIP#217

This is a 119-line context diff, involving adding 16
lines of code to tclCmdIL.c which allocate and
assigning one int per list element, freed before lsort
returns, with a net overhead of one additional
comparison if the new lsort -indices option is not invoked.

Also available at
http://www.bovik.org/lsort-indices-diff.txt
User Comments: nobody added on 2004-08-27 17:01:20:

File Added - 99397: lsort-indices-diff.txt

Attachments: