Skip to content

Do we really need CowMut Enum? #195

Description

@page0egap

CowMut enum is in file cow_mut.rs and is mainly used by GreenNodeBuilder to deal with the differences of owning NodeCache or mutable reference of NodeCache. I wonder whether using trait BorrowMut is better? As trait has no runtime overhead than enum?

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