title: What is the fastest way to check if something exist in a vector in Rust?
body: <p>I have a large list of data in a text file. I read the text file and added each line to a vector, but when I check if some string exists in that vector using contain method, the app slows down. I saw the same kine of functionality in python with pickle which it was really fast. How can make checking if something exist in a vector faster?</p>