Obviously, in Python to check whether two strings are equal you can do: "hello word" == "hello world" But what if you are comparing really long strings (in excess of 1m characters)? Is there a built in way or any libraries in python that can do this much faster; perhaps utilizing the Karp–Rabin algorithm or something similar? Or, under the hood, is stringA == stringB actually the fastest method? Continue reading...