chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #132: improve devastating floating-point performance


From: Chicken Trac
Subject: [Chicken-janitors] #132: improve devastating floating-point performance
Date: Fri, 27 Nov 2009 14:29:19 -0000

#132: improve devastating floating-point performance
-------------------------------------------------+--------------------------
 Reporter:  felix                                |       Owner:  felix
     Type:  enhancement                          |      Status:  new  
 Priority:  minor                                |   Milestone:       
Component:  core libraries                       |     Version:  4.2.x
 Keywords:  performance compiler floating-point  |  
-------------------------------------------------+--------------------------
 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.

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/132>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]