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: [PATCH] Efficient Gensym Hack (v2) Date: Wed, 16 Jan 2013 18:25:12 +0100 Message-ID: <87vcaxf3bb.fsf@pobox.com> References: <87mx7vx8zg.fsf@netris.org> <87pqcqvysj.fsf@netris.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1358357146 13823 80.91.229.3 (16 Jan 2013 17:25:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jan 2013 17:25:46 +0000 (UTC) Cc: guile-devel@gnu.org To: Mark H Weaver Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Jan 16 18:26:04 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TvWkV-0005j9-OS for guile-devel@m.gmane.org; Wed, 16 Jan 2013 18:26:03 +0100 Original-Received: from localhost ([::1]:57357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvWkF-0003aM-5B for guile-devel@m.gmane.org; Wed, 16 Jan 2013 12:25:47 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvWjm-0002Ff-5i for guile-devel@gnu.org; Wed, 16 Jan 2013 12:25:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvWjk-0007P0-DW for guile-devel@gnu.org; Wed, 16 Jan 2013 12:25:18 -0500 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:46978 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvWjk-0007Ow-9F for guile-devel@gnu.org; Wed, 16 Jan 2013 12:25:16 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id B1D0DAD7A; Wed, 16 Jan 2013 12:25:15 -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; s=sasl; bh=HREJrlKZZLLyx7Yyt9MeZhIJ8AM=; b=sgFrPs M1aq9KYnHobjEKphOTyuRpB+UXpDyTbuvGg06b4JOo7L/gfZi+NOIGJZctSnolEd Yq67iOY5pTVGjX4en1qzPu7Wgr/jxmHBA/LwwzkfgqEc5PilB/UcgvJZU9WvveGp YcLEOD4eARyTGJlPr1HrK3qJdmBtT408Mswuk= 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; q=dns; s=sasl; b=YwMtOGrt0jRlQLNYKyOKJJbZzzrIj4rm W6sZKbohdSrzgS2wSwl4fJ0L0Zq6PLFW5UUWPvfjsLEXjQNhpqn3p0CTSeHzvj3M 5CIiKJsJpUk/CcoRjZ/Jwli8DyhT/86jdtJG8kHecUYvv4NWzD7pEJmFU/QbhL1O rwU7tZAz4UA= Original-Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id A6AECAD67; Wed, 16 Jan 2013 12:25:15 -0500 (EST) Original-Received: from badger (unknown [88.160.190.192]) (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 1AF96AD66; Wed, 16 Jan 2013 12:25:14 -0500 (EST) In-Reply-To: <87pqcqvysj.fsf@netris.org> (Mark H. Weaver's message of "Tue, 06 Mar 2012 04:55:40 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Pobox-Relay-ID: B0D46E1C-6001-11E2-A40D-0A4F0E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 208.72.237.25 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15455 Archived-At: On Tue 06 Mar 2012 10:55, Mark H Weaver writes: > Here's an improved version of the Efficient Gensym Hack (v2). Ping :) IIRC I had three substantive comments: that accessing the car of a weak pair outside the alloc lock is not a good idea; that allocating within a mutex can deadlock on 2.0, but that seems not to be the case any more; and that the whole thing is different on master. This can be quite a help, so if you have the energy it would be an excellent hack :) Andy -- http://wingolog.org/