diff --git a/postgrest.cabal b/postgrest.cabal index f77507272..c9beb8ee2 100644 --- a/postgrest.cabal +++ b/postgrest.cabal @@ -179,6 +179,9 @@ library else ghc-options: -O2 if impl(ghc >= 9.12) + -- Makes GHC consider cross-module specialization for polymorphic functions + -- without explicitly needing to add INLINE, INLINABLE or SPECIALIZE pragmas. + -- Slightly increases the binary size but improves performance considerably. ghc-options: -fexpose-overloaded-unfoldings -fspecialise-aggressively if !os(windows)