Artifacts Associated With Ticket f5e36eb588
Ticket change [7bb0c3f7c2] (rid 218345) by apnadkarni on 2023-09-17 05:08:09:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- comment initialized to:
The uncompiled version of lassign results in significant memory bloat compared to the compiled version when used on a `lseq` abstract list. ``` % set l [lseq 1000000] ; llength $l 1000000 % cat /proc/[pid]/statm 56332 1320 1040 1 0 343 0 % llength [lassign $l a] 999999 % cat /proc/[pid]/statm 56332 1320 1040 1 0 343 0 % set lassign lassign lassign % llength [$lassign $l a] 999999 % cat /proc/[pid]/statm 79742 24774 1040 1 0 23753 0 ```
- foundin initialized to: "9.0"
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to: "Uncompiled lassign on lseq results in memory bloat"
- type initialized to: "Bug"
Ticket change [75e39849cc] (rid 218354) by apnadkarni on 2023-09-17 09:59:17:
- closedate changed to: "2460204.91616931"
- closer changed to: "apnadkarni"
- icomment:
For clarification, not a lseq issue but potentially applicable to uncompiled lassign with any *abstract list*. Fixed in [410d0ff3eb].
- login: "apnadkarni"
- mimetype: "text/x-fossil-plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"