Overview
| Artifact ID: | e185bb1e18d405c35b960a2f02a763219397f22f320ea693f0ffea9fde43bd7d |
|---|---|
| Ticket: | 04ac7a9d9f82b622903efb69f2cdfb78ead81ba9
lsearch shimmers abstract lists |
| User & Date: | oehhar on 2025-06-18 08:15:48 |
Changes
- comment changed to:
lsearch shimmers abstract lists that do not themselves implement lsearch functionality. For example, ``` % set l [lrepeat 200 x]; 'rep $l value is a repeatedList with a refcount of 3, object pointer at 0x1a7c5144f30, internal representation 0x1a7c512e0c0:0xc8, no string representation % lsearch $l x 0 % 'rep $l value is a list with a refcount of 3, object pointer at 0x1a7c5144f30, internal representation 0x1a7c69abea0:0x0, no string representation ``` Either lsearch should be modified to use `Tcl_ListObjIndex` for abstract lists or abstract lists in the core should implement lsearch themselves (or both). Note `lseq` already implements lsearch.
- icomment:
Ok, thanks. I have modified the original ticket to make it clearer. Now, it makes sense. Thanks, Harald
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"