Skip to content

Cache calculated exponents if needed #3

@margorczynski

Description

@margorczynski

In the evaluate function for polynomials with a lot of terms it might be more optimal to save the results of the exponent calculations for re-use in e.g. a map: x[exponent] = value

This way it is calculated once and can be used multiple times in O(1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions