Skip to content

Improve Intervals methods #355

@tpietzsch

Description

@tpietzsch

Methods like Intervals.expand should wrap the arrays they internally create (using FinalInterval.wrap) instead of copying them into a new FinalInterval.

Also It would be good if these methods would just return Interval instead of FinalInterval. But probably we cannot change that without breaking stuff. A possible way forward is deprecating Intervals and adding equivalent static methods to the Interval interface.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions