Skip to content

Is it guaranteed that primeFactors are always ascending? #7

@kindaro

Description

@kindaro

It would be nice if there was a guarantee that primeFactors are sorted. The user code may then take advantage of it, eschewing sorts and thus speeding up. This property seems to hold, and it probably should not take much effort to prove and add some automated property checking.

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