Artifacts Associated With Ticket d90fee06d0
Ticket change [df71d0a982] (rid 212140) by apnadkarni on 2023-04-11 16:18:52:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- comment initialized to:
The following works ``` % set l [testbigdata list 0x100000001]; llength $l 4294967297 % lassign $l x ; set x 0 ``` The following fails with a memory allocation failure. ``` % set lassign lassign lassign % llength $l 4294967297 % $lassign $l x; set x ``` The difference is because the compiled version makes use of the ListSpan internal representation while Tcl_LassignObjCmd does not.
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to:
Uncompiled lassign fails on large lists with memory allocation failure
- type initialized to: "Bug"
Ticket change [568862c20b] (rid 212657) by apnadkarni on 2023-04-12 16:16:25:
- assignee changed to: "apnadkarni"
- login: "apnadkarni"
- mimetype: "text/plain"
- subsystem changed to: "17. Commands I-L"
Ticket change [3678ba4418] (rid 213607) by apnadkarni on 2023-04-22 09:53:21:
- icomment:
Although 8.7 does not have the memory issue (it can't support such large allocations anyways), it also would benefit from using list ranges for performance reasons.
- login: "apnadkarni"
- mimetype: "text/plain"
- icomment:
Ticket change [a121f1a39a] (rid 213657) by apnadkarni on 2023-04-23 06:13:27:
- closedate changed to: "2460057.75934432"
- closer changed to: "apnadkarni"
- icomment:
Fixed in [3509f8a4db] (8.7) and [8b91a4a3c6] (9.0).
- login: "apnadkarni"
- mimetype: "text/x-fossil-plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"