Skip to content

Use Int64 / C as default #20

Closed
Closed
@MilesCranmer

Description

@MilesCranmer

cc @oscardssmith

I think it would probably be much faster to use Int64 / C, for some choice of constant C, than to use Rational{Int16} as is currently done – as it would avoid repeated gcd calls.

We would want to pick some constant C such that most rationals expressed by Rational{Int16} that people would typically want to use could also be expressed this way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions