[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] numbers egg slow?

From: Daishi Kato
Subject: Re: [Chicken-users] numbers egg slow?
Date: Wed, 12 Oct 2005 18:16:12 +0900
User-agent: Wanderlust/2.15.1 (Almost Unreal) Emacs/21.4 Mule/5.0 (SAKAKI)

At Wed, 12 Oct 2005 14:35:29 +0900,
Daishi Kato wrote:
> > It's probably better to check the result of %FIX-EXPT once before
> > entering the loop rather than on every iteration, since if it fails
> > once it will always fail.
> I see what you mean, but my original thought was
> to even speed up bignum-expt by checking fix-expt every loop.
> It really depends on how fast fix-expt is.
> There should be other solutions such as writing expt in C,
> but for now, I would suggest to check fix-expt out of the loop,
> as Alex suggested.
> Would it be possible to combine %power and %fix-power in this way?


Attached my patch proposal.
How would you think?


Attachment: numbers-base.scm.patch3
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]