Skip to content

Canonical way to support a temporily duplicatable Mutable vector #482

@Mansindam

Description

@Mansindam

Here is the use-case:

  1. linearly mutate a vector
  2. freeze it so some functions can duplicate it and read it
  3. when that terminates unfreeze it and continue linear operations

Is there a natural way of doing this? In particular it seems difficult to ensure functions using the duplicated frozen vector terminate before proceeding

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