Skip to content

Improve udivmod Performance #16

@nlordell

Description

@nlordell

It looks like udivmod performance can further be increased when dividing two "large" (i.e. greater than u128::MAX).

Specifically, the algorithm in primitive-types performs significantly better for these larger numbers.

See #15 (comment) and #15 (comment) for more details and more resources on fast integer division algorithms (including libgmp paper)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions