[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gmp issues (long)
From: |
Kevin Ryde |
Subject: |
Re: gmp issues (long) |
Date: |
Thu, 27 Feb 2003 08:07:11 +1000 |
User-agent: |
Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (i386-pc-linux-gnu) |
Marius Vollmer <address@hidden> 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.