8000 dev: optimize original storage tries copy logic in begin transaction · Issue #763 · kkrt-labs/keth · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
dev: optimize original storage tries copy logic in begin transaction #763
Open
@Eikix

Description

@Eikix

Why

we currently copy the dict of storage trie in begin_transaction into the original_storage_tries if it's not already set, this operation might be expensive, we will profile its step usage.

What

switch from dict_copy to copy_trie logic and add a 'rebase' strategy such that all the reads on the original_storage_trie are "merged" into the final state dicts

How

TBD

Metadata

Metadata

Assignees

No one assigned

    Labels

    optimizationDo not add features but improve the perf

    Type

    No type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0