<simple-vector>

The class of simple and efficient vectors.

The class <simple-vector> provides a constant time implementation for the element and element-setter functions.  This property is shared by all subtypes of <simple-vector>.

Calling make on a <simple-vector> returns an instance of <simple-object-vector>.  The size of a simple vector cannot be changed after the simple vector has been created.

Vector literals (created with the #[…] syntax) are general instances of <simple-vector>.

Exported from

Modifiers

abstract free sealed

Make keywords

size:An instance of <integer> specifying the size of the vector.  The default value is 0.
fill:An instance of <object> specifying an initial value for each element of the vector.  The default value is #f.

Superclasses

Subclasses

The class of simple and efficient vectors.
Returns the collection element associated with a particular key.
Sets the collection element associated with a particular key.
Returns a general instance of its first argument.
The class of simple vectors that may have elements of any type.
The common-dylan module.
Whenever possible, we have tried to keep the Dylan module pristine and unextended, preferring to add our extensions to separate modules or libraries.
The class of integers.
The class of all Dylan objects.
The class of arrays of rank one (i.e., exactly one dimension).
There are two unrelated <buffer> classes.
A <vector> that holds integers between 0 and 255 inclusively.