Lane's Blog

Roguestar, Haskell, and Fun

Skip to: Content | Sidebar | Footer

Month: April, 2009

ANN: priority-sync

29 April, 2009 (17:28) | Uncategorized | By: Lane

Provides cooperative task prioritization.
The priority-sync package on hackage.haskell.org.
$ cabal install priority-sync
$ git clone http://www.downstairspeople.org/git/priority-sync.git
Feedback will be greatly appreciated. This package is a spin-off from my work on roguestar, where I need to do significant background processing while retaining enough resources to perform smooth animation.

Trends in Profiling Haskell

16 April, 2009 (19:22) | Haskell | By: Lane

I spent some time yesterday profiling roguestar. I do this every few months just to see where things stand, and there are always two culprits at the top of roguestar-gl.prof, every single time:
* typeclass dictionary lookups in inner loops
* Rational
In the first case, I think the simplest solution is to INLINE the puppy. [...]