Article View: comp.lang.tcl
Article #130Re: Speed and Memory with upvar
From: meshparts
Date: Thu, 19 Nov 2026 16:59
Date: Thu, 19 Nov 2026 16:59
17 lines
1642 bytes
1642 bytes
Am 19.11.2026 um 17:31 schrieb Ralf Fassel: > e you used for the test. I get identical times for a list > of 3 elements and a list of 1000000 elements. Thank you Ralf. I actually did a mistake in my original post: My experience is that the *second* procedure is faster than the first one, although is using upvar as an additional command. But I cannot explain this behaviour. Maybe it's a measuring error, since I could not test my long running procedures for many repeated runs. I only run the procedures a few times when testing. So I suppose the memory consumption will be also identical in both cases.
Technical Details
Message-ID:
<11dn9te$4mfp$1@tota-refugium.de>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mailReferences:
<11dn5cd$4ibt$1@tota-refugium.de> <yga33sw6avh.fsf@akutech.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail From: meshparts <alexandru.dadalau@meshparts.de> Newsgroups: comp.lang.tcl Subject: Re: Speed and Memory with upvar Date: Thu, 19 Nov 2026 17:59:24 +0100 Message-ID: <11dn9te$4mfp$1@tota-refugium.de> References: <11dn5cd$4ibt$1@tota-refugium.de> <yga33sw6avh.fsf@akutech.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 19 Nov 2026 16:59:26 -0000 (UTC) Injection-Info: tota-refugium.de; logging-data="154105"; mail-complaints-to="abuse@news.tota-refugium.de" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:ZhFXxNft3XilFu35vJ/ulLfAsiA= In-Reply-To: <yga33sw6avh.fsf@akutech.de> X-User-ID: eJwNxsEBwCAIA8CVUEiQcYDi/iPYex2Ui+1G0HBxw6J0CxiimV//m9il5TyTLTICXYUwh5/mAwg5EEI=