PreviousUpNext

13.2.68  vector

The standard library vector package implements vanilla immutable vectors (one-dimensional arrays). These are typeagnostic — a given vector may hold elements of any Mythryl type. Typelocked vectors are also available, and can yield significant space savings when space is more important than flexibility. For example, a string can store a sequence of ASCII characters in one-fourth or less of the space used by a vanilla vector to do the same job.

The vector package implements the Vector api.

The vector package source code is in src/lib/std/src/vector.pkg.

See also: vector_slice.

See also: rw_vector.

See also: matrix.

See also: string.

See also: vector_of_one_byte_unts.

See also: vector_of_eight_byte_floats.

The above information is manually maintained and may contain errors.

Vector

Comments and suggestions to: bugs@mythryl.org

PreviousUpNext