about summary refs log tree commit diff
path: root/package.yaml
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2019-11-30T20·00-0500
committerGriffin Smith <root@gws.fyi>2019-11-30T20·00-0500
commit97a5c61f28ba98728bab390e0ea745edfbea7103 (patch)
tree25304c30990cffb5756f44c79542edf9dd2e5ac6 /package.yaml
parent310ea90985adcb6d9efe2ab05c67a235c2fb0ea2 (diff)
Fix an injectivity issue with saving the game
Fix an injectivity issue with JSON-encoding the entity map that was
causing the game saving to not properly round-trip. As part of this,
there's a refactor to the internals of the entity map to use sets
instead of vectors, which should also get us a nice perf boost.
Diffstat (limited to 'package.yaml')
-rw-r--r--package.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/package.yaml b/package.yaml
index cadfd04d8d79..f982a2339708 100644
--- a/package.yaml
+++ b/package.yaml
@@ -41,6 +41,7 @@ dependencies:
 - MonadRandom
 - mtl
 - optparse-applicative
+- parallel
 - random
 - random-fu
 - random-extras
@@ -97,6 +98,7 @@ executable:
   - -threaded
   - -rtsopts
   - -with-rtsopts=-N
+  - -O2
 
 tests:
   test:
@@ -106,6 +108,7 @@ tests:
     - -threaded
     - -rtsopts
     - -with-rtsopts=-N
+    - -O0
     dependencies:
     - xanthous
     - tasty