[Haskell-cafe] Known Unknowns

Chris Kuklewicz haskell at list.mightyreason.com
Thu Jan 26 06:26:14 EST 2006


Donald Bruce Stewart wrote:
> haskell:
>> There is a new combined benchmark, "partial sums" that subsumes several earlier
>> benchmarks and runs 9 different numerical calculations:
>>
>> http://haskell.org/hawiki/PartialSumsEntry
> 
> Ah! I had an entry too. I've posted it on the wiki.  I was careful to
> watch that all loops are compiled into nice unboxed ones in the Core. It
> seems to run a little bit faster than your more abstracted code.
> 
> Timings on the page.
> 
> Also, -fasm seems to only be a benefit on the Mac, as you've pointed out
> previously. Maybe you could check the times on the Mac too?
> 
> -- Don
> 

Yeah. I had not tried all the compiler options. Using -fasm is slower on this
for me as well.  I suspect that since your code will beat the entries that have
been posted so far, so I thin you should submit it.

Also, could you explain how to check the Core (un)boxing in a note on the (new?)
wiki?  I would be interested in learning that trick.

-- 
Chris


More information about the Haskell-Cafe mailing list