Hey cf ppl,
I was just wondering why set.count() works a lot faster than using vector.find(), from personal coding experience
This question seems to have already been answered on stack overflow, but it gave a what I thought as an incorrect answer, telling me that vector.find() would run faster than set.count() because it breaks as soon as it reaches the first occurence while set.count() would continually iterate through the whole array.
Thanks