Skip to content

Find a better mp-int library to handle costly large integer calculation. #1584

Open
@jangko

Description

@jangko

Running 9 modexp test of eth test suite, the result is:

geth: 840+ ms
nimbus + tommath: 4s. 760+ ms
nimbus + stint: 12s, 880+ ms

Find a better mp-int library that can handle arbitrary input length and have modpow/modexp optimization.
And not limited to modexp precompile only, maybe can be extended to other area where stint is slow.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions