Skip to content

Make rlp_node take rlp_buf as mutable argument #16205

@Rjected

Description

@Rjected

Describe the feature

Right now we use the RevealedSparseTrie's rlp_buf field whenever we call rlp_node:

self.rlp_buf.clear();

This should instead be an argument that's passed as &mut, this way we can have one per thread

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-engineRelated to the engine implementationA-trieRelated to Merkle Patricia Trie implementationC-enhancementNew feature or requestC-perfA change motivated by improving speed, memory usage or disk footprint

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions