Open varungandhi-src opened 2 months ago
Latest
The docs for the Cache type don't say anything about the interaction of aliased mutations with Get/Set. Is it fair to assume the following: "It is NOT safe to modify the return value of Get or to modify the key or value that were passed to Set."
Cache
Or does the implementation do deep-copying?
No response
What version of Ristretto is the target?
Latest
Documentation.
The docs for the
Cache
type don't say anything about the interaction of aliased mutations with Get/Set. Is it fair to assume the following: "It is NOT safe to modify the return value of Get or to modify the key or value that were passed to Set."Or does the implementation do deep-copying?
Additional information.
No response