[Haskell-cafe] Re: ANNOUNCE: binary: high performance,
pure binary serialisation
Neil Mitchell
ndmitchell at gmail.com
Sat Jan 27 17:02:02 EST 2007
Hi
> > I also fear that the existing script does not handle types with more than
> > 256 constructors correctly. While uncommon, those are not unrealistic.
>
> Feel free to send in a patch. All it needs to do is check if there are
> more than 2^8 constructors and if so encode the tag in a Word16 rather
> than Word8.
I've already fixed this and sent some new code to you. As long as you
have less than 4 billion constructors you should be fine now.
Thanks
Neil
More information about the Haskell-Cafe
mailing list