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

Compiling is too slow #13

Open
ksqsf opened this issue Oct 22, 2021 · 2 comments
Open

Compiling is too slow #13

ksqsf opened this issue Oct 22, 2021 · 2 comments

Comments

@ksqsf
Copy link

ksqsf commented Oct 22, 2021

The preprocessing step takes at least 10 minutes on a fairly recent laptop. I'm not sure what's going on though... The actual 'autogen' part seems to be relatively quick:

(from here)
creating
/private/tmp/encoding-0.8.6/dist-newstyle/build/x86_64-osx/ghc-9.0.1/encoding-0.8.6/build/Data/Encoding
Data/Encoding/MacOSRoman.hs generated from mapping
Data/Encoding/MacOSRoman.mapping
creating
/private/tmp/encoding-0.8.6/dist-newstyle/build/x86_64-osx/ghc-9.0.1/encoding-0.8.6/build/Data/Encoding
Data/Encoding/JISX0201.hs generated from mapping
Data/Encoding/JISX0201.mapping
creating
/private/tmp/encoding-0.8.6/dist-newstyle/build/x86_64-osx/ghc-9.0.1/encoding-0.8.6/build/Data/Encoding
Data/Encoding/JISX0208.hs generated from mapping
Data/Encoding/JISX0208.mapping2
creating
/private/tmp/encoding-0.8.6/dist-newstyle/build/x86_64-osx/ghc-9.0.1/encoding-0.8.6/build/Data/Encoding
Data/Encoding/JISX0212.hs generated from mapping
Data/Encoding/JISX0212.mapping2

but it's stuck somewhere above for a really long time.

@ksqsf
Copy link
Author

ksqsf commented Oct 22, 2021

I guess a simple solution is to ship the autogenerated modules with other sources... (The mapping files themselves are not updated frequently, I guess?)

@Martinsos
Copy link

Indeed it is very slow! Could we somehow make it faster?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants