unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: hanwen@byrd.xs4all.nl (Han-Wen Nienhuys)
Subject: Re: [PATCH] Accurate count of freed cells
Date: Fri, 23 Dec 2005 11:14:44 +0000 (UTC)	[thread overview]
Message-ID: <dogm74$cv0$1@sea.gmane.org> (raw)
In-Reply-To: 87y82fsybo.fsf@laas.fr

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 557 bytes --]

In article <87y82fsybo.fsf@laas.fr>,
Ludovic Courtès <ludovic.courtes@laas.fr> 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


  reply	other threads:[~2005-12-23 11:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-20 13:16 [PATCH] Accurate count of freed cells Ludovic Courtès
2005-12-23 11:14 ` Han-Wen Nienhuys [this message]
2006-01-03 10:10   ` Ludovic Courtès
2006-01-18  8:39 ` Ludovic Courtès
2006-01-18 10:37   ` Han-Wen Nienhuys
2006-01-19  8:27     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='dogm74$cv0$1@sea.gmane.org' \
    --to=hanwen@byrd.xs4all.nl \
    --cc=hanwen@xs4all.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).