Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supplant the Borrow bound on keys with a new AsKey trait #14

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Oct 16, 2020

  1. Supplant the Borrow bound on keys with a new AsKey trait

    QP-trie keys are now bound by a new public trait, `AsKey`, rather than
    `Borrow<[u8]>`. `AsKey` types must be borrowable both as a key slice,
    much like in `Borrow`, and as `&[u8]`, which is used internally for
    nybble operations.
    
    The trait is implemented for common `std` types, roughly matching prior
    coverage, and is amenable to further expansion.
    tapeinosyne authored and tapeinosyne committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    14844f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3dc4786 View commit details
    Browse the repository at this point in the history