1
Ask HN: "strcmp" or "if(md5(str1) == md5(str2))"?
I need to compare to strings (hashes consisting of numbers and letters). Now i'm thingking about performance... is it better, to use strcmp or md5 both strings and compare with a if-statement?
*edit: it's in a web-app using php