From 7bdf16be84b368655ce2ee3d9ab6bf185dfb59b5 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Thu, 11 Jan 2024 03:20:56 +0100 Subject: chore: make computing `probabilityMap` more performance --- apaperless.cabal | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'apaperless.cabal') diff --git a/apaperless.cabal b/apaperless.cabal index 480b605..1217b15 100644 --- a/apaperless.cabal +++ b/apaperless.cabal @@ -14,14 +14,17 @@ extra-doc-files: CHANGELOG.md -- extra-source-files: common warnings - ghc-options: -Wall -threaded + ghc-options: -Wall -threaded -with-rtsopts=-N -rtsopts executable apaperless import: warnings main-is: Main.hs other-modules: + Document + ProbabilityMap Prompt Settings + Store -- other-extensions: build-depends: base, @@ -43,6 +46,13 @@ executable apaperless time, regex, yaml, - xdg-basedir + xdg-basedir, + binary, + vector, + parallel, + deepseq, + unordered-containers, + vector-binary-instances, + split hs-source-dirs: app default-language: GHC2021 -- cgit v1.2.3