Overview
| Artifact ID: | be25ddce976e5ae81ad54dad2c0f7b205fbf8dce9d9a0cbaa4bdd6da9dcd7062 |
|---|---|
| Ticket: | 10545687da9962482e3a9014b4cf9cbcca07e647
Improve Tcl_GetNumberFromObj with abstract list interfaces |
| User & Date: | jan.nijtmans on 2025-09-05 13:05:21 |
Changes
- icomment:
Another reason the lengthProc() shouldn't be called first: What if some extension implements an objtype which is implemented as a linked list. Then the lengthProc() of this type might be very costly. That's why lengthProc() should be called last, after all other (cheap) type checks.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"