Skip to content

Unnecessary dictionaries

The attached program (unzip, untar, read Main.hs) contains dictionary building and taking apart despite all types being known. To find the dictionary search for dMonad inside QS.qsort. I've tried putting INLINE on everything I can think of, but even so there is a constant dictionary being used in a pattern match. And then the method calls are slow and non-inlined, of course.

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