summaryrefslogtreecommitdiffstats
path: root/apaperless.cabal
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-01-11 03:20:56 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-01-11 03:26:52 +0100
commit7bdf16be84b368655ce2ee3d9ab6bf185dfb59b5 (patch)
tree3ee48fc98f98ab7ac7ad19e24334e07b8b147dd6 /apaperless.cabal
parent673c59d9be8b62106ffbba96d805680f0b5e7e3f (diff)
chore: make computing `probabilityMap` more performance
Diffstat (limited to 'apaperless.cabal')
-rw-r--r--apaperless.cabal14
1 files changed, 12 insertions, 2 deletions
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