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: Locks and threads Date: Mon, 16 Mar 2009 23:57:12 +0100 Message-ID: References: <87mycsd2rj.fsf@arudy.ossau.uklinux.net> <87vdqovofz.fsf@arudy.ossau.uklinux.net> <87vdqhc4oi.fsf@arudy.ossau.uklinux.net> <87mybrwqmj.fsf@arudy.ossau.uklinux.net> <87iqmfwohh.fsf@arudy.ossau.uklinux.net> <874oxwtc89.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: ger.gmane.org 1237244299 30763 80.91.229.12 (16 Mar 2009 22:58:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Mar 2009 22:58:19 +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 Mon Mar 16 23:59:34 2009 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.50) id 1LjLlU-0006pT-CB for guile-devel@m.gmane.org; Mon, 16 Mar 2009 23:58:36 +0100 Original-Received: from localhost ([127.0.0.1]:49003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LjLk8-0006j4-8U for guile-devel@m.gmane.org; Mon, 16 Mar 2009 18:57:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LjLk4-0006iu-9v for guile-devel@gnu.org; Mon, 16 Mar 2009 18:57:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LjLjz-0006ii-VA for guile-devel@gnu.org; Mon, 16 Mar 2009 18:57:07 -0400 Original-Received: from [199.232.76.173] (port=33555 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LjLjz-0006if-Pt for guile-devel@gnu.org; Mon, 16 Mar 2009 18:57:03 -0400 Original-Received: from a-sasl-fastnet.sasl.smtp.pobox.com ([207.106.133.19]:58581 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LjLjx-0006JW-Or; Mon, 16 Mar 2009 18:57:01 -0400 Original-Received: from localhost.localdomain (unknown [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id 4BF7AA2494; Mon, 16 Mar 2009 18:57:01 -0400 (EDT) Original-Received: from unquote (unknown [83.37.99.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 7B8CFA2493; Mon, 16 Mar 2009 18:56:58 -0400 (EDT) In-Reply-To: <874oxwtc89.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sat, 14 Mar 2009 15:23:18 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-Pobox-Relay-ID: C29B7B98-127D-11DE-8530-CFA5EBB1AA3C-02397024!a-sasl-fastnet.pobox.com X-detected-operating-system: by monty-python.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:8293 Archived-At: On Sat 14 Mar 2009 15:23, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Still, I would measure the impact on `module-define!' and `module-ref' > because that's at least an additional function call. You probably know, but at least in the VM (and I thought in the interpreter too), the locations are computed once, and the resulting variable is cached. So module-ref is not called repeatedly for the same binding. Andy --=20 http://wingolog.org/