From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: Fluids Date: Wed, 03 Mar 2010 13:29:42 +0100 Message-ID: References: <87eiknx4zl.fsf@gnu.org> <87iq9ez3h6.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1267621033 17029 80.91.229.12 (3 Mar 2010 12:57:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 3 Mar 2010 12:57:13 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Mar 03 13:57:09 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nmo88-00033B-QZ for guile-devel@m.gmane.org; Wed, 03 Mar 2010 13:56:49 +0100 Original-Received: from localhost ([127.0.0.1]:43581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nmnxg-00036q-Bl for guile-devel@m.gmane.org; Wed, 03 Mar 2010 07:46:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nmnsc-00018c-To for guile-devel@gnu.org; Wed, 03 Mar 2010 07:40:47 -0500 Original-Received: from [140.186.70.92] (port=48127 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nmnsb-0000mL-RD for guile-devel@gnu.org; Wed, 03 Mar 2010 07:40:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NmnpL-0005MK-7m for guile-devel@gnu.org; Wed, 03 Mar 2010 07:37:23 -0500 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:34279 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmnpL-0005Ki-5U; Wed, 03 Mar 2010 07:37:23 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id D241C9ECB0; Wed, 3 Mar 2010 07:36:56 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=J4GvHTzc90V+ eLt57JitqdnswHk=; b=P2kUZhB29+RuIDt63zm+1Qg9WG9ZrIRBhuEwayQHcMzY ufg944v4P3OvWCP+JDkROyii8JQdb2z9RDWBJwhLI0gb5l28+Yx/u/YeGaUpS5xH W7yLjBpHq6Qz/ahpRpFLoYEkyZymSbVIRgT2bZKYABwm2IAsmja5sETn8dUkQWE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=da9HFW vYiIx/eTJdlQq6Q7lrcUDTCezhUAL/al1tgELpTlwmVDr9iV33lZU+Ssjw1HxXc6 0LS6ebVQ/DS3syET1dO+HbmyH5G0jSR3KDsTbbLfYQOzwUpV40Y/RZqXrS+Zfzfw mwcEh72trRljIYIzP+1Vc3ISJd14Q9pjeanAQ= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id BDC279ECAB; Wed, 3 Mar 2010 07:36:55 -0500 (EST) Original-Received: from unquote (unknown [77.228.120.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 13EE99ECAA; Wed, 3 Mar 2010 07:36:53 -0500 (EST) In-Reply-To: <87iq9ez3h6.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 03 Mar 2010 00:52:05 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: 73C851FE-26C1-11DF-B97C-D033EE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:10012 Archived-At: On Wed 03 Mar 2010 00:52, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Andy Wingo writes: >> >>> But you can't / shouldn't make a new fluid every time you enter a >>> `catch', because currently fluids are never garbage collected! We really >>> need to fix this. I think it's a 1.9 regression. >> >> Indeed. We should use a weak vector or some such instead of the current >> scm_gc_malloc=E2=80=99d array. > > Just to clarify: fluids themselves *are* GC=E2=80=99d, but fluid numbers = aren=E2=80=99t > recycled so ALLOCATED_FLUIDS grows endlessly (1 byte per fluid). One word per make-fluid, per thread, right? FWIW I don't need fluids to be gc'd any more, though it probably is a good idea. A --=20 http://wingolog.org/