Handbook
Glossary
Specialized vectors
The
specialized-vectors
vocabulary implements resizable sequence types for storing machine values in a space-efficient manner without boxing.
A specialized vector type needs to be generated for each element type. This is done with parsing words:
SPECIALIZED-VECTOR:
SPECIALIZED-VECTORS:
Specialized vector words
Passing specialized vectors to C functions
This vocabulary also contains special vector operations for making efficient use of specialized vector types:
push-new
( vector -- new )
The
specialized-arrays
vocabulary provides a fixed-length version of this abstraction.