Skip to content

Range computation uses vectors and not iterables #294

Description

@mcon

In builtin_range (vm/src/builtins.rs), the elements of a range are in a vector, thereby taking up O(n) size when iterating over n elements, when this could be O(1) using an iterator.

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