3.4 Using optimized constructs
casemacro by using only fixnum key values within a certain range. the Compiler can then expand the macro into code that jumps directly to a memory location instead of using an
ifstatement for every case.
The Compiler can optimize an application of the
case macro that satisfies the following qualifications:
fixnumexcept the last key, which can be the symbol
t, the symbol
otherwise, or a fixnum integer.
(case x (1 'one) (2 'two) (4 'four) (t 'other-num))
Generated with Harlequin WebMaker