Faster version of day 15
[advent-of-code-21.git] / advent-of-code21.cabal
index 050473f80e19eea8b438de41a3099036633dcf1d..2ef838cdbf2799394cf5a7a3aa47a8bd8745e804 100644 (file)
@@ -1,11 +1,11 @@
-cabal-version:       3.6
--- Initial package description 'advent-of-code21.cabal' generated by 'cabal
---  init'.  For further documentation, see
--- http://haskell.org/cabal/users-guide/
-
-name:                advent-of-code21
-version:             0.1.0.0
-synopsis: Advent of Code 21 solutions
+  cabal-version:       3.6
+  -- Initial package description 'advent-of-code21.cabal' generated by 'cabal
+  --  init'.  For further documentation, see
+  -- http://haskell.org/cabal/users-guide/
+
+  name:                advent-of-code21
+  version:             0.1.0.0
+  synopsis: Advent of Code 21 solutions
 -- description:
 -- bug-reports:
 license: MIT
@@ -159,3 +159,20 @@ executable advent15
   import: common-extensions, build-directives
   main-is: advent15/Main.hs
   build-depends: text, containers, linear, array, pqueue, mtl, lens
+
+executable advent15slow
+  import: common-extensions, build-directives
+  main-is: advent15/MainSlow.hs
+  build-depends: text, containers, linear, array, pqueue, mtl, lens
+
+executable advent15prof
+  import: common-extensions, build-directives
+  main-is: advent15/Main.hs
+  build-depends: text, containers, linear, array, pqueue, mtl, lens
+  profiling: True
+  library-profiling: True
+  profiling-detail: toplevel-functions
+  ghc-options:         -O2 
+                       -Wall 
+                       -threaded 
+                       -rtsopts "-with-rtsopts=-N -p -s -hT"