static constants -- ideas?
dons at galois.com
Sun Feb 24 03:37:03 EST 2008
> Don Stewart <dons at galois.com> 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
More information about the Glasgow-haskell-users