Yes, if you are willing to change your data structures a bit.
One easy way to speed up your comparisons is to use a checksum. I mean, literally check the sum. As you build the vectors, keep a running total of the sum of each one (as long as you are consistent with your data types, overflow doesn't matter). Then, instead of comparing the entire vectors, only compare the sums - then you only have compare the vectors if the sums match up.
To go even further, you can sort your vectors by checksum...This might only be worthwhile if you have a lot of vectors, since it reduces your checksum search from n to log(n)