Is it faster to search for a large string in a DB by its hashcode?

前端 未结 10 2498
余生分开走
余生分开走 2020-12-17 19:32

If I need to retrieve a large string from a DB, Is it faster to search for it using the string itself or would I gain by hashing the string and storing the hash in the DB as

10条回答
提交回复
热议问题