storing highly shared data structures

Christian Maeder maeder at
Wed Jan 11 08:02:10 EST 2006

Simon Marlow wrote:
> You can change the allocation area size from within a program quite 
> easily.  Write a little C function to assign to 
> RtsFlags.GcFlags.minAllocAreaSize (#include "RtsFlags.h" first), and 
> call it from Haskell; the next time GC runs it will allocate the larger 
> nursery.  Please try this and let me know if it works.

Can someone supply a code snippet for me (as I don't speak C and always 
hoped to avoid C by using haskell)?


More information about the Glasgow-haskell-users mailing list