API to get current optimize settings at macroexpansion time
Bug #1610446 reported by
Paul F. Dietz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I would like an API to get the OPTIMIZE declaration settings from the environment argument to a macro.
The use case for this is that I want to be able to alter these settings for parts of the expanded code (for example, turning DEBUG down for bindings of generated variables that the user doesn't care about), then restoring the settings for user code that is lexically nested inside these generated bindings.
To post a comment you must log in.
(sb-cltl2: declaration- information 'optimize)