Function Entry: VLE-OPTIMIZER

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

Function Entry: VLE-OPTIMIZER

Name

vle-optimizer

Class

BricsCAD VLE Library Function

Syntax

(vle-optimizer enableFlag)

Arguments and Values

  • enableFlag
  • T enables, NIL disables the
  • Optimiser

Description

enables or disables "Lisp Optimiser" features, which analyses (defun) code blocks at load-time to optimise inefficient code to be more efficient (i.e. by combining statements into efficient built-in VLE functions)

Return Values

previous activation status

Examples

(vle-optimizer t)
 enables automatic Lisp Optimiser

(vle-optimizer nil) disables automatic Lisp
Optimiser

Notes

the Optimiser feature operates on files only, not on Lisp input via commandline;

to disable Lisp Optimiser for a particular Lisp file (i.e. for trouble-shooting), add :

(vle-optimizer nil)

at beginning of the Lisp file;

after loading each file, the Lisp Optimiser is automatically reset to be active, therefore using (vle-optimizer nil) only affects the particular file

Availability

  • AutoCAD 2026: not documented.
  • BricsCAD V26: documented.
  • Status: BricsCAD-only.

Source Notes