Skip to content
Tcl Source Code History Of Ticket 219043
Login

History Of Ticket 219043

Artifacts Associated With Ticket 219043

  1. Ticket change [e7a4d3ec69] (rid 104503) by nobody on 2000-10-26 01:09:50:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 4098 RFE
      Version: 8.3b2
      SubmitDate: '2000-01-27'
      LastModified: '2000-05-09'
      Severity: LOW
      Status: Released
      Submitter: ericm
      ChangedBy: ericm
      OS: All
      FixedDate: '2000-05-09'
      FixedInVersion: 8.4a1
      ClosedDate: '2000-10-25'
      
      
      It would be useful to be able to specify to lsearch that the list it is searching is sorted, so that it could use a more efficient search algorithm (binary search, for example).
      
      - eric
      
      
      
      It is probably not enough to simply add -sorted.  In order to make this work, lsearch would need additional information about the data:  what kind of data is it (string, int, double?); is it sorted in ascending or descending order; maybe others.  Perhaps lsearch can deduce this information from the data itself.
      
      - eric
      
      I have the work for this mostly done, I'm just waiting for 8.4 to put it back into CVS.
      
      - eric
      
      -- 03/31/2000 ericm
      
      Ensure that when multiple occurences of a particular string,
      that the first one is returned (should return same index as
      lsort unsorted). 
      -- 04/03/2000 hobbs
      
      Done and done.
      
      - eric
      
      -- 05/09/2000 ericm
      
      
      
    4. foundin initialized to: "obsolete: 8.3b2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "81. Bundled Packages"
    10. title initialized to:
      "lsearch -sorted" or similar command would be useful
      
    11. type initialized to: "RFE"
  2. Ticket change [4333384074] (rid 116513) by welch on 2000-10-26 08:34:05:

    1. closedate changed to: "2000-10-26T01:34:05"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [a19008054b] (rid 109738) by dgp on 2001-04-05 07:53:39:

    1. foundin changed to: "None"
    2. status changed to: "Open"
    3. subsystem changed to: "None"
    4. title changed to:
      "lsearch -sorted" or similar command would be useful
      
  4. Ticket change [afa25e5287] (rid 97851) by dgp on 2001-04-05 07:56:20:

    1. closedate changed to: "2001-04-05T00:56:20"
    2. closer changed to: "dgp"
    3. status changed to: "Closed"
    4. subsystem changed to: "17. Commands I-L"
    5. title changed to:
      "lsearch -sorted" or similar command would be useful