Overview
| Artifact ID: | e7a4d3ec69344c6a4b0d945e467dad09fabb4115 |
|---|---|
| Ticket: | 219043ffffffffffffffffffffffffffffffffff
"lsearch -sorted" or similar command would be useful |
| User & Date: | nobody on 2000-10-26 01:09:50 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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
- foundin changed to: "obsolete: 8.3b2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "81. Bundled Packages"
- title changed to:
"lsearch -sorted" or similar command would be useful
- type changed to: "RFE"