perceptual-hash 0.1.4.4 → 0.1.4.5
raw patch · 4 files changed
+8/−2 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- perceptual-hash.cabal +2/−2
- src/Median.hs +1/−0
- src/PerceptualHash.cpphs +1/−0
CHANGELOG.md view
@@ -1,5 +1,9 @@ # phash +## 0.1.4.5++ * Modest performance improvements+ ## 0.1.4.4 * Workaround for performance regression with GHC 9.2.1
perceptual-hash.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.0 name: perceptual-hash-version: 0.1.4.4+version: 0.1.4.5 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2019-2021 Vanessa McHale@@ -51,7 +51,7 @@ other-extensions: FlexibleContexts TypeFamilies ghc-options: -Wall -O2 build-depends:- base >=4.8 && <5,+ base >=4.10 && <5, hip, vector-algorithms, vector,
src/Median.hs view
@@ -5,6 +5,7 @@ import Data.Vector.Generic.Mutable (MVector) import qualified Data.Vector.Generic.Mutable as MV +{-# INLINABLE median #-} median :: (PrimMonad m, MVector v e, Ord e, Fractional e) => v (PrimState m) e -> m e median v = do Merge.sort v
src/PerceptualHash.cpphs view
@@ -1,4 +1,5 @@ {-# OPTIONS_GHC -fspecialize-aggressively #-}+ {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE TypeFamilies #-}