Browse thread
[Caml-list] Num library
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Alain Frisch <frisch@c...> |
| Subject: | Re: [Caml-list] Num library |
On Thu, 10 Oct 2002, Pierre Weis wrote: > Once more, just one question to you: which layer of the Num library > had you benchmarked ? Mmmh, I did not intend to launch a new flamewar here ... Maybe you can give some information yourself about the library. If I want to manipulate only integers (no rational numbers), most of which will be small integers, is it better to use Num or Big_int ? Would Num benefit to be specialized to (small+big) integers (that is, throwing away the Ratio constructor) ? Because int values and Big_int values can be distinguished at runtime, one could imagine implementing the union "by hand" (without explicit tagging, and thus avoiding a lot of memory allocation and garbage collection). What would be the gain ? General question: the library seems to be extremely stable since a several years. Does it mean you consider that it is just good as it is, or does it mean you don't want to continue working on it ? -- Alain ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners