From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: Re: High run time variance Date: Thu, 05 Aug 2010 19:43:29 +0200 Message-ID: References: <4BB0D0A7.7080505@gnu.org> <4C5ABFAB.2080006@gnu.org> <4C5AE50D.6010104@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1281030099 14402 80.91.229.12 (5 Aug 2010 17:41:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 Aug 2010 17:41:39 +0000 (UTC) Cc: bug-guile@gnu.org To: Luca Saiu Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Aug 05 19:41:34 2010 Return-path: Envelope-to: guile-bugs@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 1Oh4Rb-0002g8-4P for guile-bugs@m.gmane.org; Thu, 05 Aug 2010 19:41:33 +0200 Original-Received: from localhost ([127.0.0.1]:56909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oh4RU-0005oW-Ab for guile-bugs@m.gmane.org; Thu, 05 Aug 2010 13:41:20 -0400 Original-Received: from [140.186.70.92] (port=37844 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oh4R7-0005cp-Hw for bug-guile@gnu.org; Thu, 05 Aug 2010 13:41:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oh4Qp-0005El-VD for bug-guile@gnu.org; Thu, 05 Aug 2010 13:40:41 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:63376 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oh4Qp-0005Ec-RP; Thu, 05 Aug 2010 13:40:39 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id EC2D1CB247; Thu, 5 Aug 2010 13:40:38 -0400 (EDT) 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=Ery+mM3sXLFaSnG2n+eIfsMaij8=; b=eeHTSZ 5F2e6eseNr5Nv7aC486byoU6sdL7YWLkOpuHSSMbrxUrt9XvigsNrMkl6hY3S+kC /bssFv93OmEe/joUaaby82vlDILs8zNZjwrGcsTY+uWzb+yVerMgP5nkGSdA7YuW ETCnaqioxBzVlyzdcGPsQaBJ7UG8Vo2sjqI70= 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=iU97OHsSISEg3EUMhV/bmxbiiZPXpKQk Jy0YFmHHu4J6PqeQEUdYPCNcoDoBC5xGTbMLK8cG2dxfICENhUfY/EKkXVOep7BW 4wjR+WxroYzk2g9di4N7rMoU83HULyszogYcqfx6LtsNAerFAJ6ZbAEMAdHDfIHp H4ybKwGxxEY= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id D8D69CB246; Thu, 5 Aug 2010 13:40:37 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [83.44.189.117]) (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 49292CB245; Thu, 5 Aug 2010 13:40:36 -0400 (EDT) In-Reply-To: <4C5AE50D.6010104@gnu.org> (Luca Saiu's message of "Thu, 05 Aug 2010 18:21:33 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 8F094BA0-A0B8-11DF-87B3-9056EE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4730 Archived-At: On Thu 05 Aug 2010 18:21, Luca Saiu writes: > Andy Wingo wrote: >> The toplevel references to bitvector-set! don't get cached, so the >> bitvector-set! gets looked up every time, and there is some unfortunate >> allocation in scm_from_locale_symboln. If you put it in a function, >> the variable gets cached, and there's no allocation. > > So that was a corner case. Sorry for the noise. Well, arguably it's still a bit stupid to be slow there, so it could be our bug... A -- http://wingolog.org/