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

Scala 2.13.0 and Hash derivation rework #157

Merged
merged 1 commit into from
Jun 13, 2019
Merged

Commits on Jun 13, 2019

  1. Scala 2.13.0 and Hash derivation rework

    Case classes' `hashCode` is not backwards compatible in Scala 2.13,
    because it mixes the `productPrefix` for better distribution.
    This means we need version specific code to pass the `Hash` laws.
    
      * Update dependencies for Scala 2.13.0
      * Rework `Hash` derivation for consistency
      * Split product and coproduct derivation
      * Add a Scala version specific seed for `scala.Product` subtypes
      * Optimize `HashBuilder` to a one-pass hash
      * Replace usages of `Statics` (not recommended) with `MurmurHash3`
      * Test all variants of `Hash` derivation
    joroKr21 committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    b810efd View commit details
    Browse the repository at this point in the history