Deutsch   English   Français   Italiano  
<ud8brd$25gjr$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.lang.python
Subject: Re: GIL-Removal Project Takes Another Step (Posting On Python-List
 Prohibited)
Date: Tue, 19 Mar 2024 02:33:44 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <utati7$k004$1@dont-email.me>
References: <ut09ig$1umjo$1@dont-email.me> <87v85jxepj.fsf@nightsong.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 19 Mar 2024 02:33:44 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cf2257effda993e7401c0124f815988b";
	logging-data="655364"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+qK3I25vbfHT7XZ+PAZ86k"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:35ZWQ0ZemWyWcaXeDI04KFEspqU=
Bytes: 1490

On Mon, 18 Mar 2024 17:11:52 -0700, Paul Rubin wrote:

> ... the idea that GC uses more memory seems erroneous to me.

It will use whatever memory it is permitted to use.

Consider that every time you call a method, a new method-wrapper object is 
dynamically created, and almost always immediately deleted when the call 
returns. So even a very simple, seemingly well-behaved Python script, if 
running for long enough, would consume more and more memory if it were not 
for reference-counting.