Article View: comp.lang.tcl
Article #131Re: Speed and Memory with upvar
From: Rich
Date: Thu, 19 Nov 2026 17:59
Date: Thu, 19 Nov 2026 17:59
10 lines
1537 bytes
1537 bytes
meshparts <alexandru.dadalau@meshparts.de> wrote: > Does the second method also has advantages regarding the memory > consuption or are the two methods identical from this point of view? If the proc which receives the list does nothing to modify the list, both versions are identical, as only a reference is passed. But, if the proc changes the list, then some difference in memory usage will occur. How much will depend upon the nature of the change made to the list.
Technical Details
Message-ID:
<11dnddl$2g55c$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11dn5cd$4ibt$1@tota-refugium.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Rich <rich@example.invalid>
Newsgroups: comp.lang.tcl
Subject: Re: Speed and Memory with upvar
Date: Thu, 19 Nov 2026 17:59:17 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <11dnddl$2g55c$1@dont-email.me>
References: <11dn5cd$4ibt$1@tota-refugium.de>
Injection-Date: Thu, 19 Nov 2026 17:59:18 +0000 (UTC)
Injection-Info: dont-email.me;
logging-data="2626732"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19A6MjTAIBIt2AOXNPG7EkY"; posting-host="ae54043b36838da06ccc8ae2e1a5834f"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.193 (x86_64))
Cancel-Lock: sha1:qXKycYHWpVPDtZC62yagSmHMKSs= sha256:Hwt00wVSeJPe7vtj3qZrS2ws2aZIgqR9rtx4iayYzgY=
sha1:LuiPeqtLyUjrV0kOqst7gPkXV/M= sha256:aua7Zvm9r/lT33KyCaRzlcpDXbm6ed2AsU9110PyT2g=