Re: [Chicken-users] performance of bignums

2015-07-06 Thread Peter Bex
On Sun, Jun 28, 2015 at 09:47:30PM +0200, Peter Bex wrote: So far it seems my implementation of Burnikel/Ziegler division is rather unstable, performance-wise. If I disable burnikel/ziegler so it falls back to the traditional gradebook method, the benchmark finishes in a quarter of the time

Re: [Chicken-users] performance of bignums

2015-06-28 Thread Peter Bex
On Thu, Jun 25, 2015 at 10:09:19PM +0200, Peter Bex wrote: I already removed the use of the format egg (the code contains a commented-out version that relies only on display), and even completely disable the println call. It's hard to be sure, but it *looks* like the majority of the time is

Re: [Chicken-users] performance of bignums

2015-06-28 Thread Kooda
On Sun, Jun 28, 2015 at 09:47:30PM +0200, Peter Bex wrote: So far it seems my implementation of Burnikel/Ziegler division is rather unstable, performance-wise. If I disable burnikel/ziegler so it falls back to the traditional gradebook method, the benchmark finishes in a quarter of the time

Re: [Chicken-users] performance of bignums

2015-06-25 Thread Dan Leslie
SBCL is Public Domain/MIT/BSD, depending on the component. GMP is dual licensed as LGPL3 and GPL2. The licensing issues would impact those who distribute binaries built with SBCL, but only if they are statically linked to GMP. -Dan Stephen Eilert spedr...@gmail.com writes: On Thu, Jun 25,

Re: [Chicken-users] performance of bignums

2015-06-25 Thread Peter Bex
On Thu, Jun 25, 2015 at 11:39:50AM -0700, Martin DeMello wrote: Post to /r/scheme about chicken's bignum performance. (Not my post, just figured it could use some eyeballs.) http://www.reddit.com/r/scheme/comments/3b1ujw/performance_of_chicken_scheme_numbers_bignums/ Hello Martin, Thanks

Re: [Chicken-users] performance of bignums

2015-06-25 Thread cowan
Peter Bex scripsit: Thanks for posting this. We had already been discussing it earlier today in #chicken. I had another look at the code but I can't really find any obvious inefficiencies. It is indeed a bit faster with CHICKEN 5, but not by much. Potential confounders are the I/O and the

Re: [Chicken-users] performance of bignums

2015-06-25 Thread Peter Bex
On Thu, Jun 25, 2015 at 10:26:53PM +0200, Peter Bex wrote: On Thu, Jun 25, 2015 at 05:04:17PM -0300, Stephen Eilert wrote: Not sure about the status of this particular GSOC, but SBCL could also be cheating. http://www.sbcl.org/gsoc2013/ideas/#sec-1.2 Now, I thought GMP were GPL'd

Re: [Chicken-users] performance of bignums

2015-06-25 Thread Stephen Eilert
On Thu, Jun 25, 2015 at 4:50 PM, Peter Bex pe...@more-magic.net wrote: On Thu, Jun 25, 2015 at 11:39:50AM -0700, Martin DeMello wrote: Post to /r/scheme about chicken's bignum performance. (Not my post, just figured it could use some eyeballs.)

Re: [Chicken-users] performance of bignums

2015-06-25 Thread Peter Bex
On Thu, Jun 25, 2015 at 03:59:59PM -0400, co...@ccil.org wrote: Peter Bex scripsit: Thanks for posting this. We had already been discussing it earlier today in #chicken. I had another look at the code but I can't really find any obvious inefficiencies. It is indeed a bit faster with

Re: [Chicken-users] performance of bignums

2015-06-25 Thread Peter Bex
On Thu, Jun 25, 2015 at 05:04:17PM -0300, Stephen Eilert wrote: Not sure about the status of this particular GSOC, but SBCL could also be cheating. http://www.sbcl.org/gsoc2013/ideas/#sec-1.2 Now, I thought GMP were GPL'd and SBCL not, so I'm unsure about the legal implications, if it

Re: [Chicken-users] performance of bignums

2015-06-25 Thread cowan
Peter Bex scripsit: Of course, Guile is cheating by using GMP. If I compare it to another Scheme which has its own bignum implementation like Gauche, we perform about the same. It's interesting that sbcl is doing so well. Maybe I'm overlooking something seemingly minor but important?

Re: [Chicken-users] performance of bignums

2015-06-25 Thread Stephen Eilert
On Thu, Jun 25, 2015 at 5:53 PM, Peter Bex pe...@more-magic.net wrote: On Thu, Jun 25, 2015 at 10:26:53PM +0200, Peter Bex wrote: On Thu, Jun 25, 2015 at 05:04:17PM -0300, Stephen Eilert wrote: Not sure about the status of this particular GSOC, but SBCL could also be cheating.

[Chicken-users] performance of bignums

2015-06-25 Thread Martin DeMello
Post to /r/scheme about chicken's bignum performance. (Not my post, just figured it could use some eyeballs.) http://www.reddit.com/r/scheme/comments/3b1ujw/performance_of_chicken_scheme_numbers_bignums/ martin ___ Chicken-users mailing list