Skip to content

Setfield.jl's IndexLens does not use views #341

@torfjelde

Description

@torfjelde

One drawback with adopting the use of Setfield.jl's lenses for VarName is that we're no longer using view when we're indexing into arrays.

This could easily be fixed by just implementing a ViewLens by copy-pastingSetfield.IndexLens and using a view instead of getindex.

Sooo should we?

EDIT: This might also be a APPL issue rather than DPPL. What say you @phipsgabler ?

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