Skip to content

Investigate upstream Encode and Decode Base 58 optimizations #2300

@barton2526

Description

@barton2526

Upstream PRs:

This change consists in avoiding filling the b58 buffer with zeros. The improvement is about 30% - 45%.

For example, calling listunspents with my wallet results in 313ms in EncodeBase58 whereas before was 578ms.

Improve DecodeBase58 performance the same way as commit 3252208 did
for EncodeBase58.
...
That's about 32% decrease for the average time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions