Skip to content

Collecting type info is slow

With :set +c option in GHCi, I'm waiting for 10-15 seconds for

Collecting type info for 34 module(s) ...

after both first load and subsequent reloads, even if only top-level module was modified.

And GHCi uses about 1.5-2x more memory than it uses without :set +c.

My app has about 30k lines of code.

Is it expected behavior and some performance improvements are planned or it's a bug?

Trac metadata
Trac field Value
Version 8.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information