Simon Marlow wrote:
Agreed. It's very difficult to test whether a particular change degrades performance, as it might only do so on certain examples.
well, my other plan was to see if I could get -ddump-simpl to come out about the same... but looking at that is a little tricky with GHC's build system, and it might not work out as I had hoped. (and it relies heavily on optimization, so -- even if -O remains reliable -- it doesn't help -O0)
The best approach is to try to isolate the compiler-specific code as much as possible - for example having compiler-specific implementations of utils/State.
yes, that's what I'm trying for. Perhaps I'll make ReaderState even if it only has one user (familiar abstractions are good), or perhaps not.
-Isaac _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
