unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: cwitty@newtonlabs.com (Carl R. Witty)
Cc: Bruce Korb <bkorb@pacbell.net>,
	Marius Vollmer <mvo@zagadka.ping.de>,
	guile-devel@gnu.org, guile-user@gnu.org,
	Greg Troxel <gdt@ir.bbn.com>
Subject: Re: The Guile license and the use of LGPL libs (like GMP).
Date: 21 May 2002 12:55:45 -0700	[thread overview]
Message-ID: <ace91o$7u3$2@main.gmane.org> (raw)
In-Reply-To: Rob Browning's message of "Thu, 16 May 2002 12:12:45 -0500"

Rob Browning <rlb@defaultvalue.org> writes:

> Not for all purposes -- depends on what your goals are -- if we want a
> full numeric tower that's *fast* on multiple platforms, my impression
> is we may be better leaving that to numeric experts like the people
> working on GMP.

You might want to run some benchmarks before you decide on GMP.  My
impression (from the last time I looked at the issue, maybe a couple
of years ago) is that GMP is intended to be asymptotically fast on
large numbers, but that it's not particularly fast on smaller
numbers.  (For instance, you certainly wouldn't want to get rid of
fixnums and use GMP numbers for all numbers; when I looked at it, GMP
had no optimization for small numbers at all, so computing something
like 2*2 would take about 6 function calls and several loops.)

Does anybody have any idea what distribution of numbers is typical in
programs with bignums?  For instance, are most numbers that are bigger
than 32 bits in the 32 to 64 bit range, or are there lots of numbers
with hundreds of bits?  (I don't suppose anybody really knows the
answer to this question, but you'll have to make a guess before you
can decide whether one implementation is faster than another.)

Carl Witty

_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


  parent reply	other threads:[~2002-05-21 19:55 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87ptzxp8le.fsf@zagadka.ping.de>
2002-05-16 15:35 ` The Guile license and the use of LGPL libs (like GMP) Rob Browning
     [not found] ` <87vg9oqf5b.fsf_-_@raven.i.defaultvalue.org>
2002-05-16 16:44   ` Greg Troxel
2002-05-16 17:01   ` Bruce Korb
     [not found]   ` <3CE3E5D8.A30C3197@pacbell.net>
2002-05-16 17:12     ` Rob Browning
     [not found]     ` <87elgcqanm.fsf@raven.i.defaultvalue.org>
2002-05-21 19:55       ` Carl R. Witty [this message]
     [not found]       ` <v4j661hi8ce.fsf@bogomips.newtonlabs.com>
2002-05-21 23:44         ` Rob Browning
2002-05-16 17:21   ` Jeff Read
     [not found]   ` <20020516132133.A24385@gas-o>
2002-05-16 17:22     ` Rob Browning
     [not found]     ` <877km4qa7z.fsf@raven.i.defaultvalue.org>
2002-05-16 17:42       ` Robert Uhl <ruhl@4dv.net>
2002-05-16 20:40       ` Jeff Read
     [not found]       ` <20020516164045.C24385@gas-o>
2002-05-16 23:17         ` Rob Browning
     [not found]         ` <874rh7n0ng.fsf@raven.i.defaultvalue.org>
2002-05-16 23:35           ` Jeff Read
     [not found]           ` <20020516193535.A26480@gas-o>
2002-05-16 23:38             ` Robert Uhl <ruhl@4dv.net>
2002-05-17  1:33               ` Thien-Thi Nguyen
2002-05-17  0:02             ` Rob Browning
2002-05-28 18:56           ` Marius Vollmer
     [not found]   ` <rmi8z6kavqi.fsf@fnord.ir.bbn.com>
2002-05-17 11:38     ` Bill Schottstaedt
2002-05-28 18:28   ` Marius Vollmer
     [not found]   ` <877klouny2.fsf@zagadka.ping.de>
2002-05-28 18:54     ` Bruce Korb
2002-05-28 18:58     ` Bill Gribble
2002-06-03 13:33       ` Greg Troxel
2002-06-03 22:25         ` Marius Vollmer
2002-06-04 11:22           ` Greg Troxel
2002-06-04 19:12             ` Marius Vollmer
2002-05-28 19:02     ` Rob Browning
     [not found]     ` <3CF3D274.978637CD@pacbell.net>
2002-05-28 19:23       ` Marius Vollmer
     [not found]       ` <87sn4ct6tj.fsf@zagadka.ping.de>
2002-05-28 19:39         ` Bruce Korb
     [not found]         ` <3CF3DCDD.D0CB1662@pacbell.net>
2002-05-28 19:54           ` Marius Vollmer
2002-05-28 19:54           ` Robert Uhl <ruhl@4dv.net>
     [not found]           ` <87d6vgt5dx.fsf@zagadka.ping.de>
2002-05-28 20:16             ` Bruce Korb
     [not found]             ` <3CF3E5A3.623870F7@pacbell.net>
2002-06-01 16:01               ` Marius Vollmer
     [not found]               ` <877klj0yzu.fsf@zagadka.ping.de>
2002-06-01 18:06                 ` Robert Uhl <ruhl@4dv.net>
2002-06-03 22:40                   ` Marius Vollmer
2002-06-04 14:38                     ` Robert Uhl <ruhl@4dv.net>

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='ace91o$7u3$2@main.gmane.org' \
    --to=cwitty@newtonlabs.com \
    --cc=bkorb@pacbell.net \
    --cc=gdt@ir.bbn.com \
    --cc=guile-devel@gnu.org \
    --cc=guile-user@gnu.org \
    --cc=mvo@zagadka.ping.de \
    /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).