From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: hanwen@byrd.xs4all.nl (Han-Wen Nienhuys) Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Accurate count of freed cells Date: Fri, 23 Dec 2005 11:14:44 +0000 (UTC) Organization: LilyPond development Message-ID: References: <87y82fsybo.fsf@laas.fr> Reply-To: hanwen@xs4all.nl NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1135342900 32542 80.91.229.2 (23 Dec 2005 13:01:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Dec 2005 13:01:40 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Dec 23 14:01:38 2005 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EpmYC-0005TG-KG for guile-devel@m.gmane.org; Fri, 23 Dec 2005 14:01:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EpmZE-0006CZ-Vq for guile-devel@m.gmane.org; Fri, 23 Dec 2005 08:02:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EplbG-0004Vy-1R for guile-devel@gnu.org; Fri, 23 Dec 2005 07:00:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EpkwJ-0001w9-Bo for guile-devel@gnu.org; Fri, 23 Dec 2005 06:18:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EpkuF-0001sI-CC for guile-devel@gnu.org; Fri, 23 Dec 2005 06:16:17 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1EpktW-0003Ua-Sy for guile-devel@gnu.org; Fri, 23 Dec 2005 06:15:31 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Epksz-0003WK-Kz for guile-devel@gnu.org; Fri, 23 Dec 2005 12:14:57 +0100 Original-Received: from muurbloem.xs4all.nl ([213.84.26.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Dec 2005 12:14:57 +0100 Original-Received: from hanwen by muurbloem.xs4all.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Dec 2005 12:14:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: guile-devel@gnu.org Original-Lines: 16 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: muurbloem.xs4all.nl X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: hanwen@byrd.xs4all.nl (Han-Wen Nienhuys) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5549 Archived-At: In article <87y82fsybo.fsf@laas.fr>, Ludovic Courtès wrote: >Hi, > >The patch below fixes the way freed cells are counted in >`scm_i_sweep_card ()'. Basically, without this patch, FREE_COUNT is >incremented regardless of whether the cell pointed to by SCMPTR was >already free or not. isn't it tighter (one compare less) to put a free_count --; in the scm_tc_free_cell case? _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel