From e201231a80ead1d76495384ce4e7516aed93a0e2 Mon Sep 17 00:00:00 2001 From: Oleg Grenrus Date: Mon, 24 Jun 2024 13:32:03 +0300 Subject: [PATCH] Turn arch-native flag off by default In benchmarks it's own, because if you care about speed, you'll enable it. --- CHANGES.md | 4 ++++ hashable.cabal | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 08da4d7..8ac2741 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ See also https://pvp.haskell.org/faq +## Version 1.4.7.0 + + * Make `arch-native` disabled by default. + ## Version 1.4.6.0 * Use GND&DerivingVia to derive `newtype` intances (`Data.Semigroup`, `Data.Monoid`, `Identity` etc). diff --git a/hashable.cabal b/hashable.cabal index b8a1966..b8bb7ea 100644 --- a/hashable.cabal +++ b/hashable.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: hashable -version: 1.4.6.0 +version: 1.4.7.0 synopsis: A class for types that can be converted to a hash value description: This package defines a class, 'Hashable', for types that can be converted to a hash value. @@ -61,10 +61,11 @@ flag integer-gmp flag arch-native description: Use @-march=native@ when compiling C sources. - You may need to disable this flag if you are building distributable binaries + Portable implementation is 15-50% slower. + Consider enabling this flag if hashing performance is important. manual: True - default: True + default: False flag random-initial-seed description: