
14 Nov
2006
14 Nov
'06
10:42 a.m.
Hello Simon, Tuesday, November 14, 2006, 4:31:27 PM, you wrote:
Sure, since gzip is the metric, then we can optimise for that. For example, instead of writing a higher-order function, just copy it out N times instantiating the higher-order argument differently each time. There should be no gzipped-code-size penalty for doing that, and it'll be faster :-)
i hope that ghc 6.8 will include -Ogzip! switch which transforms program so it becomes more compressible by gzip. also jhc's recent haskell-to-ghc translation mode may be optimized in this way, so jhc will finally outperform ghc as a best shootout platform :) -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com