Skip to content

Improve ergonomics around owned::Id and borrowed::Id #63

@Byron

Description

@Byron

Benchmark it and different alternatives like:

  • using Cow
  • using owned::Ids everywhere

Be sure to put Sha256/32 bytes in there right away to have a more faithful prediction of the future and prevent optimizations that currently are definitely at play.

The outcome is to find the tradeoff between ergonomics and performance and apply the change to the codebase.
Also: Select one name for the type and use it everywhere unchanged, right now some crates use it as Digest.

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