wvwwvwwv / scalable-concurrent-containers

High performance containers and utilities for concurrent and asynchronous programming
Apache License 2.0
285 stars 14 forks source link

Implement Default for any BuildHasher #95

Closed novacrazy closed 1 year ago

novacrazy commented 1 year ago

Other hashmaps allow Default to be used regardless of hash builder, so long as it also provides a default value.

This makes it possible to #[derive(Default)] on structs that use scc types with other hashers.

wvwwvwwv commented 1 year ago

Thanks a lot!