Thunk leak fixes
The strictness introduced in this commit was motivated by observing thunk leaks in the eventlog2html output. - Refactor attach instances list comprehension to avoid large intermediate thunks - Refactor some HTML backend list comprehensions to avoid large intermediate thunks - Avoid thunks accumulating in documentation types or documentation parser - A lot of orphan NFData instances to allow us to force documentation values
Showing
- haddock-api/src/Haddock.hs 1 addition, 1 deletionhaddock-api/src/Haddock.hs
- haddock-api/src/Haddock/Backends/Hoogle.hs 1 addition, 1 deletionhaddock-api/src/Haddock/Backends/Hoogle.hs
- haddock-api/src/Haddock/Backends/Xhtml.hs 30 additions, 8 deletionshaddock-api/src/Haddock/Backends/Xhtml.hs
- haddock-api/src/Haddock/Convert.hs 3 additions, 1 deletionhaddock-api/src/Haddock/Convert.hs
- haddock-api/src/Haddock/Interface/AttachInstances.hs 22 additions, 10 deletionshaddock-api/src/Haddock/Interface/AttachInstances.hs
- haddock-api/src/Haddock/Interface/Create.hs 20 additions, 13 deletionshaddock-api/src/Haddock/Interface/Create.hs
- haddock-api/src/Haddock/Interface/Rename.hs 2 additions, 1 deletionhaddock-api/src/Haddock/Interface/Rename.hs
- haddock-api/src/Haddock/Types.hs 138 additions, 1 deletionhaddock-api/src/Haddock/Types.hs
Loading
Please register or sign in to comment