Overview
| Artifact ID: | 7bb0c3f7c2c06329fae7eea4ac54c71c9cea3f211e465a7c9031f86699bdae49 |
|---|---|
| Ticket: | f5e36eb588e585e47f6e875c7fb18acc0b1bf603
Uncompiled lassign on lseq results in memory bloat |
| User & Date: | apnadkarni on 2023-09-17 05:08:09 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed 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 changed to: "9.0"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "Uncompiled lassign on lseq results in memory bloat"
- type changed to: "Bug"