Overview
| Artifact ID: | 04fcc06f03ec670d9e7ebabfffeaf475a2e3c26a939620082764e14a0fa325c6 |
|---|---|
| Ticket: | fa00fbbbabe2d77904ac0086884d5debf9c529a5
lseq / lindex discrepancies |
| User & Date: | apnadkarni on 2023-04-17 01:59:33 |
Changes
- icomment:
I don't think that TclIndexEncode was missed in moving to 64-bits but rather it was intentional. Iirc, the byte code format is limited to 32-bits and the TclIndexEncode/TclIndexDecode are only used for immediate literal operands (N or end-N) in that range. Operands in variables or outside that range use the TclGetIntForIndexM (or its function equivalent) and load the value from Tcl_Objs on the stack. That is my understanding. Having said that, there is a ticket logged for some index values so there are definitely some issues that need to be resolved in that area.
- login: "apnadkarni"
- mimetype: "text/plain"