From c99aed0afab84241f0f40d19b88ddebf19c0e6d5 Mon Sep 17 00:00:00 2001 From: Brent Yorgey Date: Sat, 4 May 2024 21:08:42 -0500 Subject: [PATCH] add note about turning off optimizations --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index d45fd587e..6009b112f 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,11 @@ unreleased features), read on. cd /path/to/the/swarm/repo cabal run -O0 swarm:exe:swarm + (Note that we recommend turning off optimizations with `-O0` since + they don't seem to make much difference to the speed of the + resulting executable, but they make a big difference in compilation + time.) + 1. Go get a snack while `cabal` downloads a Haskell compiler and all of Swarm's dependencies.