This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Dump float support?
- To: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>, guile at sourceware dot cygnus dot com
- Subject: Re: Dump float support?
- From: Roland Orre <orre at nada dot kth dot se>
- Date: Mon, 13 Mar 2000 16:24:14 +0100 (MET)
- Cc: Greg dot Harvey at thezone dot net, mlivshin at bigfoot dot com, mjs at eazel dot com, jimb at red-bean dot com
- Reply-to: orre at nada dot kth dot se (Roland Orre)
Mikael Djurfeldt <mdj@mdj.nada.kth.se> wrote:
> Having to deal with both floats and doubles makes the code more
> complex. The old reason for computing with floats, that they could be
> stored in a single cell, is no longer valid, since also doubles now
> will be stored in a single cell. The speed advantage of computing
> with floats is shadowed by the cost of administrating an extra float
> type (we need to test for floats everywhere, including in the GC).
> We will still keep uniform float vectors, though. Values will be
> converted to doubles when accessing the vectors. (Again, this won't
> cost more than previously, since we also previously had to allocated a
> cell for the value.)
As long as you preserve uniform float vectors I'm happy. I use them
a lot, just to save space.
Best regards
Roland Orre