I have list of ~6000 data patterns for which I need to search in a relatively large (100 MB) binary file, so in worst case I need to traverse this binary file 6000 times.
Is there any way or any property of python data structure that I can use for fast search within a large binary file?