You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When resources are given back to a resource pool (e.g. Merkle maps in the Cardano transaction prover), they need to be reset properly (e.g. the Merkle map should be compressed so that all its values are represented by their root). This will guarantee that pooled resources are consistent and do not depend from previous computations. (e.g. this will avoid the risk of memory overflow and provide a consistent proving time).
What
Design a reset behavior for pooled resources, and implement it for Merkle maps.
How
Make the pooled resources of ResourcePool implement a Reset trait
Implement the Reset trait for the Merkle map with its compression
Benchmark the performances of the prover
The text was updated successfully, but these errors were encountered:
Why
When resources are given back to a resource pool (e.g. Merkle maps in the Cardano transaction prover), they need to be reset properly (e.g. the Merkle map should be compressed so that all its values are represented by their root). This will guarantee that pooled resources are consistent and do not depend from previous computations. (e.g. this will avoid the risk of memory overflow and provide a consistent proving time).
What
Design a reset behavior for pooled resources, and implement it for Merkle maps.
How
ResourcePool
implement aReset
traitReset
trait for the Merkle map with its compressionThe text was updated successfully, but these errors were encountered: