Provides defaults for all character type parameters.
This parameter provides defaults for all character type parameters. The legal values are
lw:simple-char is also supported for backwards compatibility.
Its value must only be set via a call to set-default-character-element-type.
This is intended for efficiency of applications with only 8-bit strings, where you can do
and also for efficiency of applications with only 16-bit strings, where you can do
If your program uses 16-bit or 32-bit strings you should already be aware of these issues, and make some attempt to provide explicit types.
When the compiler does type inferencing it behaves as if this variable was bound to
cl:character; if you want assumptions about types to be hard-coded into your program, you must supply explicit declarations and type arguments.
LispWorks User Guide and Reference Manual - 20 Sep 2017