[Haskell-cafe] MD5 performance optimizations

Andrew Coppin andrewcoppin at btinternet.com
Tue May 20 16:05:51 EDT 2008


Don Stewart wrote:
> andrewcoppin:
>   
>> While I'm here, can I just clarify *exactly* what -funbox-strict-fields 
>> actually does?
>>     
>
> If in doubt, ask the user's guide:
>
>     http://www.haskell.org/ghc/docs/latest/html/users_guide/pragmas.html#unpack-pragma
>   

...so making a field strict causes it to be automatically forced when 
the constructor is forced, but doesn't actually unbox it? So there's 
still a level of indirection, and no register allocation?



More information about the Haskell-Cafe mailing list