Hello Simon,

Wednesday, December 17, 2008, 4:05:48 PM, you wrote:

> I'm afraid the underlying problem is one that GHC has always had - that we
> can't preempt threads that aren't allocating.  It's not easily fixable, we
> would have to inject dummy heap checks into every non-allocating loop,
> which would seriously hurt performance for those tight loops.

just technical note - if we unroll such loops and insert one check per
10 repetitions, it may be ok. although conditional execution may be a
problem for such solution


-- 
Best regards,
 Bulat                            mailto:[email protected]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to