Hi all,

I did a trivial test, in case anybody's interested, in the unboxed sum idea 
approach, only considering the Int# branch.

https://gist.github.com/chrisdone/6aef640a49fc30b45ad210eac287dce9

It seems to be on par with Int, which is pretty cool because I wasn't sure what 
to expect. Assuming I didn't make a horrible mistake.

`B = 272.2 μs`
`Int = 270.9 μs  `
`Integer = 7.860 ms `

Cheers,

Chris
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to