If you want unique strings, you calculate hashes of those strings, and for each new string, you calculate hash of it and find this value in the set of hashes.
I would like to do similar things, but with images. If you have lots of images, and when new images are added, you want to find existing very similar images, what library do you use? I have seen some libraries for comparing two images for similarity, but in this way, I have to do N comparisons… which will be problematic if I have lots of images.
by evolution2015 via /r/csharp