Closed jpraynaud closed 3 weeks ago
3 files ±0 43 suites ±0 8m 52s :stopwatch: +12s 1 036 tests +1 1 036 :white_check_mark: +1 0 :zzz: ±0 0 :x: ±0 1 134 runs +1 1 134 :white_check_mark: +1 0 :zzz: ±0 0 :x: ±0
Results for commit 80dc8176. ± Comparison against base commit 0c3ee098.
:recycle: This comment has been updated with latest results.
Content
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).
This PR includes:
Reset
trait to be implemented by pooled resources of theResourcePool
(with a blanket implementation).Reset
trait by theMerkleMap
with a compression of the provable values to their root.Benchmarks
Pre-submit checklist
Issue(s)
Closes #1743