Opened 15 years ago

Closed 15 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 15 years ago by felix winkelmann

Status: newaccepted

comment:2 Changed 15 years ago by felix winkelmann

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.