Summary

improve devastating floating-point performance

Metadata

Description

Floating-point calculations are quite slow, because all operations are boxed and many simple operations are implemented in `runtime.c` and so require a cross-module call.

Putting small functions from `runtime.c` as `static inline` (or `static` for non-GNU/ICC/C++ compilers) into `chicken.h` should give an improvement.

Unboxing floating-point variables in the generated code would be even better.

Changes and comments

[2009-12-04 18:36:35 UTC] felix changed status from new to accepted

[2009-12-31 00:57:17 UTC] felix changed status from accepted to closed

[2009-12-31 00:57:17 UTC] felix set resolution to fixed