Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow execution with GHC 8.6.5 #33

Closed
ivanperez-keera opened this issue Oct 3, 2021 · 0 comments
Closed

Slow execution with GHC 8.6.5 #33

ivanperez-keera opened this issue Oct 3, 2021 · 0 comments
Assignees
Labels

Comments

@ivanperez-keera
Copy link
Owner

When using GHC 8.6.5, the execution is slow.

I have not looked into the details, but it resembles the behaviour I'd seen when games are garbage collecting heavily mid-game.

@ivanperez-keera ivanperez-keera self-assigned this Oct 3, 2021
ivanperez-keera added a commit that referenced this issue Oct 3, 2021
When using GHC 8.6.5, the execution is slow. It may also happen with
other versions of GHC, although it does not happen with GHC 7.10.3

When threaded is disabled, execution is fluid and fast. Since this game
has no threads or anything that needs to be executed in a parallel
(e.g., music playing), threaded is not needed.

This commit eliminates the -threaded flag from ghc-options in the cabal
file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant