TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Thoughts on Rust Hashing

3 pointsby usdogu5 months ago

1 comment

pkhuong5 months ago
The performance complaints seem to be mostly about buffer management. Rust hashers may flush their internal buffers whenever they want, as long as it&#x27;s deterministic:<p>&gt; Thus to produce the same hash value, Hash implementations must ensure for equivalent items that exactly the same sequence of calls is made – the same methods with the same parameters in the same order.<p><a href="https:&#x2F;&#x2F;doc.rust-lang.org&#x2F;std&#x2F;hash&#x2F;trait.Hasher.html" rel="nofollow">https:&#x2F;&#x2F;doc.rust-lang.org&#x2F;std&#x2F;hash&#x2F;trait.Hasher.html</a>
评论 #42399642 未加载