[gambit-list] Number crunching

TJ tjay.dreaming at gmail.com
Fri Apr 20 01:46:09 EDT 2007


Christian Jaeger:
> If you want fast handling of single floats (as opposed to vectors or
> matrices), garbage collection is an issue since floats are normally
> boxed; you can get around this by using (declare (flonum) (not safe)) in
> the relevant sections, and/or ##flonum.{*,+,-,/,..} operators. (Floats
> are still boxed across real function calls, though.)

We also have fl+, fl-, etc now. Shorter and much more aesthetically
pleasing, I think ;-)

TJ



More information about the Gambit-list mailing list