Thread status constants

Simon Marlow marlowsd at
Mon Jul 21 19:32:50 UTC 2014

On 19/07/2014 06:00, Kyle Van Berendonck wrote:
> I found these:
> They go only 0-14, so there's some long chains of branches and stuff in
> hot paths that could be cleaned up into single &-masked branches by
> changing these into a set of flags.

GHC will generate a table jump for a large dense case, if that's what 
you're worried about.


More information about the ghc-devs mailing list