> Glasgow Haskell is very slow.
I think you are using a version built from source, yes? Are
you using -O when you compile it? It makes a big difference.
I bet you are right about interface files; GHC reads a lot of them.
Storing them in binary format rather than ASCII might also be a win.
> I think there is a better way, namely to allow interface
> files to be stored
> in archives rather than in directories.
An archive is just a file system within a file. It's hardly a
"better way" to duplicate a file system, when the file system
darn well ought to perform just as well. But you may be right
that it would work well in practice.
I don't have experience of this stuff, and it's hard to predict
the performance improvement. So it's hard to make it important
enough to get done. Any volunteers out there?
Simon