Function Entry: CLAL-OPTIMIZATION

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: CLAL-OPTIMIZATION

Name

clal-optimization

Class

clautolisp Extension Function

Syntax

(clal-optimization)

Arguments and Values

No arguments.

Description

Return the current optimization qualities as an AutoLISP list ((DEBUG n) (SPACE n) (SPEED n)) (debugger public interface, Part A). These qualities gate how EVAL and clal-compile build a function's forks: DEBUG > 0 weaves the instrumented fork that stepping and breakpoints ride on; SPACE trades it away for size. SPEED is pinned at 0 until the compiler-to-CL (Tier 2) lands.

Return Values

A three-element list ((DEBUG n) (SPACE n) (SPEED n)), each n an integer 0..3.

Side Effects

None.

Affected By

  • The current setting made by clal-optimize.

Exceptional Situations

None.

Examples

(clal-optimization)
=> ((DEBUG 3) (SPACE 0) (SPEED 0))

Availability

  • clautolisp: documented (this entry); implemented since an earlier clautolisp release.
  • AutoCAD: NOT present.
  • BricsCAD: NOT present.

Source Notes

  • clautolisp-only extension; see the debugger-public-interface issue (Part A) and this chapter's Overview.