apollographql / apollo-rs

Spec compliant GraphQL Tools in Rust.
Apache License 2.0
566 stars 43 forks source link

Introduce a faster hasher #881

Closed o0Ignition0o closed 1 month ago

o0Ignition0o commented 2 months ago

This changeset introduces ahash, a hasher that is faster than the one provided by the stdlib.

It exposes a collections::fast module, that can be used by other libraries that rely on apollo-rs types. This makes it easier for the apollo-rs to swap implementations in the future if needs be.