Skip to content

Clean duplicate algorithm codes #31

@rv64m

Description

@rv64m

Due to Rust's memory model, the current implementation uses a lot of repetitive code to support Mutable and immutable methods. So, we want clean this duplicated codes.

In particular, we will introduce a new generic parameter type BorrowType for static dispatch different methods between Mut and Immut.

In high-level, the basic idea is shown below:

Untitled-2022-08-01-1054

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existshelp wantedExtra attention is neededkind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.kind/documentationImprovements or additions to documentationkind/enhancementNew feature or requestkind/featureNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions