This avoids the need to build the VectorSet and array indexing is generally faster than a hash table lookup.