![]() | ![]() | ![]() | with-full-optimization | ![]() |
|
| (option*)
declaration*
form*
=> result* | [Macro] |
Purpose
Compile forms with (speed 3), (safety
0), (debug 0), and (compilation-speed 0) optimization
settings.
Package :gbbopen-tools
Module :gbbopen-tools
Arguments and values
| option | No options are currently supported | |
| declaration | A declare expression (not evaluated) | |
| forms | An implicit progn of forms to be evaluated | |
| results | The values returned by evaluating the last form |
Returns
The values returned by evaluating form.
Description
This macro provides a convenient means of declaring small code fragments for
fastest (and least safe) compiler optimizations. If the feature
:full-safety is present at compile time, this macro
has no effect on optimization settings.
Examples
Declare a function definition, including argument checking,
to be fully optimized for the fastest (and least safe) execution:
(with-full-optimization ()
(defun extent-> (value)
`(,value ,infinity)))
Optimize the same function definition, but this time without
invocation and argument-checking optimizations:
(defun extent-> (value)
(with-full-optimization ()
`(,value ,infinity)))
The GBBopen Project
![]() | ![]() | ![]() | with-full-optimization | ![]() |