[Haskell-cafe] Program with profiling runs faster than without
Malcolm Wallace
malcolm.wallace at cs.york.ac.uk
Tue Jul 14 07:16:42 EDT 2009
On 14 Jul 2009, at 11:09, Grigory Sarnitskiy wrote:
>> I think it is quite strange to the profiled version to run faster
>> I'm really interested how to obtain the same speed withput
>> profiling compilation.
This is only a guess, but maybe there is a context-qualified CAF-like
value that is being re-evaluated multiple times in the non-profiling
case, but is appropriately monomorphised in the profiling case, so it
is only evaluated once?
Regards,
Malcolm
More information about the Haskell-Cafe
mailing list