8000 Persist cache on disk · foyer-rs foyer · Discussion #1010 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Persist cache on disk #1010

Answered by MrCroxx
noomly asked this question in Q&A
May 21, 2025 · 4 comments · 7 replies
Discussion options

You must be logged in to vote

Hi, @noomly . Thanks for reporting.

While debugging, I printed the hash of the same key between the two runs.

2025-05-21T16:01:27.904183Z ERROR t: 67: <<<<<<<<<<<<<<<< v1=11976684267437382861
2025-05-21T16:01:27.906258Z ERROR t: 80: <<<<<<<<<<<<<<<< v1=9171236786011198560

The hash doesn't match each other.

According to the document of ahash:

/// Provides a [Hasher] factory. This is typically used (e.g. by [HashMap]) to create
/// [AHasher]s in order to hash the keys of the map. See `build_hasher` below.
///
/// [build_hasher]: ahash::
/// [Hasher]: std::hash::Hasher
/// [BuildHasher]: std::hash::BuildHasher
/// [HashMap]: std::collections::HashMap
///
/// There are multiple constructors …

Replies: 4 comments 8000 7 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by noomly
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@noomly
Comment options

@MrCroxx
Comment options

@MrCroxx
Comment options

@MrCroxx
Comment options

@MrCroxx
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0