Overview
| Artifact ID: | 6f7c202ff05912d0080a275305da277efea38184ea44b072c3997744cbece24e |
|---|---|
| Ticket: | 10545687da9962482e3a9014b4cf9cbcca07e647
Improve Tcl_GetNumberFromObj with abstract list interfaces |
| User & Date: | dgp on 2025-09-04 19:10:50 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Tcl_GetNumberFromObj() has already been written to make use of the extended Tcl_ObjType abstract list routines to efficiently reject non-singleton lists as non-numbers. I have a patch to re-order this processing, which is possible because all of Tcl's numeric types have implemented the abstract list routines so rejecting early is efficient enough to come first without worry about slowing down the accept results noticeably. Some comments are added to help later readers understand the logic.
- foundin changed to: "9.0"
- is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- private_contact changed to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "10. Objects"
- title changed to:
Improve Tcl_GetNumberFromObj with abstract list interfaces
- type changed to: "Bug"