Am Mittwoch, 22. Februar 2006 06:24 schrieb Donald Bruce Stewart:
> [...]
> Though the renamings (which I agree with) did break some internal links.
What links did they break? Actually, I took care to update at least redirects
which pointed to the old titles, since MediaWiki doesn't handle mult
Dear all,
can ghc compile huge tables into efficient code if they are constant at
compile time?
Two examples may clearify the question:
big1 :: UArray Int Char
big1 = array (0,1000) $! map (\i -> (i,toEnum i)) [0..1000]
big2 = sum [0..1]::Int -- == 50005000 == n*(n+1)/2 where n = 1
Bot
Stefan Karrmann wrote:
> Dear all,
>
> can ghc compile huge tables into efficient code if they are constant at
> compile time?
>
> Two examples may clearify the question:
>
> big1 :: UArray Int Char
> big1 = array (0,1000) $! map (\i -> (i,toEnum i)) [0..1000]
>
> big2 = sum [0..1]::Int --