static constants -- ideas?

Don Stewart dons at
Sun Feb 24 03:37:03 EST 2008

> Don Stewart <dons at> wrote:
> > You can build large constant bytestrings, fwiw. They turn into
> > an Addr#, and GHC will leave them alone.
>   Well, for my particular problem -- I guess I could align all
>   the elements of the lists, and then build the trie and maps
>   from the ByteStrings at startup.

You could pull them out with Data.Binary too, making it a little faster

-- Don

More information about the Glasgow-haskell-users mailing list