mersinvald / primitive-map-rs

[WIP] Blazing fast [Integer -> T: Clone] Map crate
MIT License
3 stars 1 forks source link

Review need in Bucket type argument for PrimitiveMap #4

Closed mersinvald closed 6 years ago

mersinvald commented 6 years ago
struct PrimitiveMap<
    K: Key,
    V: Value,
    B: Bucket<K, V>,                  <=== this
    BL: BucketList<K, V, Bucket = B>,
    H: Hasher<K> = DefaultHasher<K>,
> {
    buckets: BL,
    _marker: PhantomData<(K, V, B, H)>,
}
mersinvald commented 6 years ago

Seems so