Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDedup functionality #2
Comments
|
I don't actually know if it would be faster to do |
|
As to which is faster, it depends on how many items you have and probably other things. |
|
It’s often hard to predict what algorithm is gonna be faster on a particular data set, the only way to know is to try and benchmark it. |
|
This is a feature that I would have liked to be able to use in my code. |
|
An implementation of |
|
I would like to work on it, but it's my first time to contribute to an open source project. I would love to get some help, if I stuck somewhere. |
I'd like to
.sort()and.dedup()the SmallVecs so I can see which values are unique. Failing that, I guess SmallHashSet would work too.