Stack
Capacity There is no speed advantage to pre-allocating array sizes in JavaScript, so this implementation does not include any of the capacity and "growth increment" concepts in the standard Vector class.
Range checking For increased performance, this implementation does not check for index validity.
Vector() | |
Vector(Collection) |