with-full-optimization |
| ( option*) | [Macro] |
Purpose
Compile forms with (speed 3)
(safety 0)
(debug 0)
(compilation-speed 0)
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
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 |