RE: haskell array access

27 Jun
2003
27 Jun
'03
5:30 p.m.
At best case for Haskell, 15.5 times slower. The thing about bounds checking, in Haskell it's always there. In C, you might have it, you might not there is no certainty by the language, only by design and implementation. So with C, one is free to live dangerously.
If you're using GHC, there's Data.Array.Base.unsafeAt which is the one which doesn't do bounds checking.
8046
Age (days ago)
8046
Last active (days ago)
0 comments
1 participants
participants (1)
-
Hal Daume