Skip to content

Back LongSequence and LongSubSeq by RefVector #349

Open

Description

@jakobnissen

In MemoryViews, I am considering making a type

struct RefVector{T} <: DenseVector{T}
    ref::MemoryRef{T}
end

whose length is then obtained from the remainder of the Memory. We can replace existing Vector with this, which saves a memory indirection. Note that we can still resize by making the RefVector field in LongSequence non-constant and replacing it.

This requires Julia 1.11, so maybe we want to wait until LTS has been bumped

Activity

  1. kescobo commented on Sep 10, 2026

    @kescobo
    Member

    While I think it's nice to be able to support LTS, I don't think we need to be held to than unless we get specific feedback from folks where this is a critical requirement. Just my 2c

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions