Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Stack overflow when calling vector.min, vector.max and vector.range #26

Description

@matomesc

Since you're doing Math.apply({}, values) when calculating .min(), .max() and .range(), then if the values is a large array (say 1000k items) then the stack will overflow. It might be better to rewrite the min/max/range so they take an array as parameter rather than delegating to Math.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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