From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: gen gc Date: Fri, 19 Jul 2002 10:40:03 -0500 Sender: guile-devel-admin@gnu.org Message-ID: <87d6tjsp4c.fsf@raven.i.defaultvalue.org> References: <15669.59575.560391.128570@blauw.xs4all.nl> <871ya2ezjo.fsf@zagadka.ping.de> <15669.63974.973133.308661@blauw.xs4all.nl> <3D36AFBC.1000206@puremagic.com> <15670.44970.137101.467470@meddo.cs.uu.nl> <87r8i0s706.fsf@raven.i.defaultvalue.org> <15671.56925.864831.996455@blauw.xs4all.nl> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1027093295 28641 127.0.0.1 (19 Jul 2002 15:41:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 19 Jul 2002 15:41:35 +0000 (UTC) Cc: Miroslav Silovic , Marius Vollmer , guile-devel@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17VZss-0007Rq-00 for ; Fri, 19 Jul 2002 17:41:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17VZsY-00059y-00; Fri, 19 Jul 2002 11:41:14 -0400 Original-Received: from dsl-209-87-109-2.constant.com ([209.87.109.2] helo=defaultvalue.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17VZrQ-0003r7-00 for ; Fri, 19 Jul 2002 11:40:05 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 20DBA1430; Fri, 19 Jul 2002 10:40:04 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 7AEC41849; Fri, 19 Jul 2002 10:40:03 -0500 (CDT) Original-To: hanwen@cs.uu.nl In-Reply-To: <15671.56925.864831.996455@blauw.xs4all.nl> (Han-Wen's message of "Fri, 19 Jul 2002 11:39:41 +0200") Original-Lines: 24 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-pc-linux-gnu) Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:827 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:827 Han-Wen writes: > What do you mean by integer counter? A unique per-object value taken from a plain old integer sequence. i.e. the first object is 1, the second is 2, etc. > The value is only intended for human consumption (i.e. debugging) OK, that's one thing I wasn't sure of, and given that, I wasn't sure whether a unique number that's constant across the lifetime of the object (an integer), or the address (which may change) would be more useful. I suppose it depends on what type of debugging you're trying to do, and of course, the address would be cheaper to provide. Note though, that if there's not supposed to be a way to look up an object by its object-address value, then you don't need to store the values in a hash table mapping to objects or similar. -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel