This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
Don't clone State #11512
Labels
A3-stale 🍃
Pull request did not receive any updates in a long time. No review needed at this stage. Close it.
F7-optimisation 💊
An enhancement to provide better overall performance in terms of time-to-completion for a task.
P9-somedaymaybe 🌞
Issue might be worth doing eventually.
Sort out this TODO: "cloning for
State
shouldn't be possible in general; Remove this and use checkpoints where possible.".It was added in #4632, other related PRs:
I assume that using checkpoints instead of
Clone
s is more efficient, since we only store the diff.We still use clones here https://github.com/paritytech/parity-ethereum/blob/856a0755888a30d4dc52a68cb2638a8bfd5786ac/ethcore/src/block.rs#L239
The text was updated successfully, but these errors were encountered: