Opened 16 years ago
Closed 16 years ago
#132 closed enhancement (fixed)
improve devastating floating-point performance
| Reported by: | felix winkelmann | Owned by: | felix winkelmann |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | core libraries | Version: | 4.2.x |
| Keywords: | performance compiler floating-point | Cc: | |
| Estimated difficulty: |
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.
Change History (2)
comment:1 Changed 16 years ago by
| Status: | new → accepted |
|---|
comment:2 Changed 16 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
