static constants -- ideas?

Bryan O'Sullivan bos at serpentine.com
Sun Feb 24 22:46:07 EST 2008


Jay Scott wrote:

> That didn't occur to me, since neither of my large constants includes
> strings....

The trick I usually use in cases like this is to compile the data as C
code and link against it, then access it from Haskell via a Ptr.

	<b


More information about the Glasgow-haskell-users mailing list