> In my experience, it pays off to store as many as possible
> of the intermediate files (and even the linked binary during
> development) on a local disk (e.g., on /tmp).  This is
> *much* faster than going via NFS.

Absolutely.

While I suspect that zipping all the .hi files might be a win over NFS, it
might very well be a loss on a local disk.  And decent NFSv3 implementations
(of which there is 1, as I recall :-) will do the caching properly so you
only get the slowdown the first time.

I think the biggest win would come from dumping out the .hi files in some
binary format which can be slurped straight back in again when ghc starts,
avoiding the costly lexical analysis/parsing stages we go through now.  For
this, we need a decent binary I/O library, though...

Cheers,
        Simon

Reply via email to