Skip to content

dash::equal does not work for non-trivial ranges #510

Open
@fmoessbauer

Description

@fmoessbauer

The current implementation of dash::equal is both highly inefficient, as well as erroneous.

As the implementation internally operates on the local parts of the first range, the distribution of the second is not honored.

Consider the following example, where the | denote the "borders" of a unit. Logically both ranges are equal.

First:  |x x x x|x x x x|x x x x|
Second:  x|x x x x|x x x x|x x x  |

In this case the current implementation even segfaults, as it reads past the local second range.

See PR #509 for details.

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