From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: gmp issues (long) Date: Thu, 27 Feb 2003 08:07:11 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87smuawvao.fsf@zip.com.au> References: <87d6lhcnyn.fsf@raven.i.defaultvalue.org> <87y9446pyc.fsf@zagadka.ping.de> <87wujoqado.fsf@raven.i.defaultvalue.org> <87smuc6lft.fsf@zagadka.ping.de> <87d6lgq8jn.fsf@raven.i.defaultvalue.org> <87of506k2y.fsf@zagadka.ping.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046297988 32162 80.91.224.249 (26 Feb 2003 22:19:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 26 Feb 2003 22:19:48 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18o9ty-0008MV-00 for ; Wed, 26 Feb 2003 23:19:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18o9tT-00061Y-04 for guile-devel@m.gmane.org; Wed, 26 Feb 2003 17:19:15 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18o9qN-0004rT-00 for guile-devel@gnu.org; Wed, 26 Feb 2003 17:16:03 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18o9kh-0002uP-00 for guile-devel@gnu.org; Wed, 26 Feb 2003 17:10:12 -0500 Original-Received: from sunny.pacific.net.au ([203.2.228.40]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18o9iU-00028P-00 for guile-devel@gnu.org; Wed, 26 Feb 2003 17:07:54 -0500 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h1QM7q82015370 for ; Thu, 27 Feb 2003 09:07:52 +1100 (EST) Original-Received: from localhost (ppp56.dyn228.pacific.net.au [203.143.228.56]) by wisma.pacific.net.au with ESMTP id JAA24912 for ; Thu, 27 Feb 2003 09:07:51 +1100 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 18o9hn-0000Ov-00; Thu, 27 Feb 2003 08:07:11 +1000 Original-To: guile-devel@gnu.org In-Reply-To: <87of506k2y.fsf@zagadka.ping.de> (Marius Vollmer's message of "26 Feb 2003 00:01:41 +0100") User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (i386-pc-linux-gnu) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:1985 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1985 Marius Vollmer writes: > > 'mpz_init' is probably very simple and maybe just initializing it with > zeros is all it takes. Maybe the compiler can inline both > scm_double_cell and mpz_init and optimize the redundant stores away. Alas mpz_init is a function, it allocates an initial block of memory for the data. > mpz_t n = MPZ_INITIALIZER; That suggestion had been floated another time, but unfortunately it's not feasible in the current implementation. It's a nice enough idea, and it's on the gmp tasks list to give more thought to, but actually doing anything about it is probably a distance away. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel