How do I use Declarations (type, inline, optimize) in Scheme?

Posted by kunjaan on Stack Overflow See other posts from Stack Overflow or by kunjaan
Published on 2009-07-08T01:40:11Z Indexed on 2010/05/18 15:50 UTC
Read the original article Hit count: 224

How do I declare the types of the parameters in order to circumvent type checking?

How do I optimize the speed to tell the compiler to run the function as fast as possible like (optimize speed (safety 0))?

How do I make an inline function in Scheme?

How do I use an unboxed representation of a data object?

And finally are any of these important or necessary? Can I depend on my compiler to make these optimizations?

thanks, kunjaan.

© Stack Overflow or respective owner

Related posts about plt-scheme

Related posts about functional-programming