From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Opportunistic GC Date: Mon, 08 Mar 2021 17:23:09 +0200 Message-ID: <831rcpsm8y.fsf@gnu.org> References: <666da624-2f59-2eb4-8e56-f0ad20dd900c@gmx.at> <26ff7447-9c29-a2f2-bf3d-9eac20a95d0f@gmx.at> <838s6xsnsv.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33163"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Pip Cet Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 08 16:24:46 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJHkU-0008XG-Jg for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Mar 2021 16:24:46 +0100 Original-Received: from localhost ([::1]:60642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJHkT-00010g-KL for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Mar 2021 10:24:45 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJHj4-0008Bl-SH for emacs-devel@gnu.org; Mon, 08 Mar 2021 10:23:18 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49605) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJHj4-0008Eu-6c; Mon, 08 Mar 2021 10:23:18 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2983 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lJHj1-0000vd-VU; Mon, 08 Mar 2021 10:23:16 -0500 In-Reply-To: (message from Pip Cet on Mon, 8 Mar 2021 15:02:18 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:266190 Archived-At: > From: Pip Cet > Date: Mon, 8 Mar 2021 15:02:18 +0000 > Cc: rudalics@gmx.at, Stefan Monnier , emacs-devel@gnu.org > > For conses, it's easy. Instead of keeping the mark bits in the cons > block, we keep a pointer to the mark bits in the cons block, and > allocate the mark bits separately and (hopefully) on a different page. And for others? Also, doesn't it mean you increase the memory required for a cons by a factor of 1.5, as it now needs one more member (3 words instead of 2)?