unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Kevin Ryde <user42@zip.com.au>
Subject: Re: gmp issues (long)
Date: Thu, 27 Feb 2003 08:07:11 +1000	[thread overview]
Message-ID: <87smuawvao.fsf@zip.com.au> (raw)
In-Reply-To: <87of506k2y.fsf@zagadka.ping.de> (Marius Vollmer's message of "26 Feb 2003 00:01:41 +0100")

Marius Vollmer <mvo@zagadka.de> 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


  parent reply	other threads:[~2003-02-26 22:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-24 22:29 gmp issues (long) Rob Browning
2003-02-25 20:54 ` Marius Vollmer
2003-02-25 22:10   ` Rob Browning
2003-02-25 22:32     ` Marius Vollmer
2003-02-25 22:50       ` Rob Browning
2003-02-25 23:01         ` Marius Vollmer
2003-02-25 23:23           ` Rob Browning
2003-02-26 22:07           ` Kevin Ryde [this message]
     [not found] <E18ndhx-0007Cm-00@monty-python.gnu.org>
2003-02-25 19:32 ` Stephen Compall
2003-02-25 20:08   ` Rob Browning

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87smuawvao.fsf@zip.com.au \
    --to=user42@zip.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).