Skip to content

Add support for 1-dimensional RangeInclusive #3

Description

@CinchBlue

I'm interested in using this for 1D and 2D overlapping ranges but with RangeInclusive (specifically, for overlapping text ranges + overlapping 2D grid ranges). I managed to basically brute-force replace every Range with RangeInclusive in the library and got a local version of this working, except it doesn't appear to work right for 2D ranges (for this, instead I decided to use quadtree_rs) -- probably because you cannot implement Ord for 2D ranges reliably (instead, it forms a lattice-like ordering for disjoint ranges).

Anyways, I think it works for 1D RangeInclusive so I thought I'd raise up the issue. I'll try to see if I can get the code uploaded.

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