3 ms·
Why is the hash of the request better than comparing strings?
by mhb 3y ago
Why is the hash of the request better than comparing strings?
- rented_mule 3y agoI assume they meant they were hashing the response rather than hashing the request. Then you don't have to keep the entire response around for comparison, only its hash.
- pc86 3y agoContent on the page with slug `{company}-hockey-tickets-2016-season` changed, not the slug itself.
- voussoir 3y agoI think mhb's point is that the size of the request content is so small, it can be compared byte-for-byte directly instead of hashing and comparing hashes. Many of us have a kind of muscle memory where we always hash everything for comparison, but for small data there is not really a point.