I am learning Bloom filter
and BitMap
(also known as Bit Array) and met a question,can someone give me some instructions on when to use Bloom filter and when to use BitMap?
In my understanding I think that when we need to find the largest number or want to sort the huge data,BitMap is more suitable(for pure digit).
If we want to check some IP address are contained in billions of existed records,then Bloom filter is more suitable(for string or other none pure digit).
However,I want to someone to give me more detailed instructions or suggestions,I have searched on Google and do not find some useful info. Thanks in advance!
Also I do not know if shall I put this question on stackoverflow or other sites,if it's not the right site,hope someone can point it out,thanks!