From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled Date: Wed, 26 Aug 2009 23:39:09 +0100 Message-ID: <87ljl6nqsy.fsf@arudy.ossau.uklinux.net> References: <6203BF4F-1F11-46F7-9F4A-55D83E3CA205@raeburn.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251326403 17537 80.91.229.12 (26 Aug 2009 22:40:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Aug 2009 22:40:03 +0000 (UTC) Cc: guile-devel To: Ken Raeburn Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Aug 27 00:39:55 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 1MgR9i-0003hK-O1 for guile-devel@m.gmane.org; Thu, 27 Aug 2009 00:39:51 +0200 Original-Received: from localhost ([127.0.0.1]:52058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgR9i-0005Yf-1K for guile-devel@m.gmane.org; Wed, 26 Aug 2009 18:39:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgR9A-000509-4n for guile-devel@gnu.org; Wed, 26 Aug 2009 18:39:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgR96-0004sf-1T for guile-devel@gnu.org; Wed, 26 Aug 2009 18:39:15 -0400 Original-Received: from [199.232.76.173] (port=40408 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgR95-0004sA-JZ for guile-devel@gnu.org; Wed, 26 Aug 2009 18:39:11 -0400 Original-Received: from mail3.uklinux.net ([80.84.72.33]:58494) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgR95-0003OI-8Q for guile-devel@gnu.org; Wed, 26 Aug 2009 18:39:11 -0400 Original-Received: from arudy (host86-152-99-133.range86-152.btcentralplus.com [86.152.99.133]) by mail3.uklinux.net (Postfix) with ESMTP id B67011F676B; Wed, 26 Aug 2009 23:39:10 +0100 (BST) Original-Received: from arudy.ossau.uklinux.net (arudy [127.0.0.1]) by arudy (Postfix) with ESMTP id 0946738021; Wed, 26 Aug 2009 23:39:09 +0100 (BST) In-Reply-To: <6203BF4F-1F11-46F7-9F4A-55D83E3CA205@raeburn.org> (Ken Raeburn's message of "Thu\, 6 Aug 2009 03\:31\:51 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:9178 Archived-At: Ken Raeburn writes: > Ah, we already had scm_i_pthread_mutex_trylock lying around; that made > things easy. > A second timing test with A(3,9) and this version of the patch (based > on 1.9.1) shows the same improvement. > > diff --git a/libguile/threads.c b/libguile/threads.c Thanks, I've committed this now. (Although note that this one will also evaporate when BDW-GC is merged.) Neil