primitive-maybe
provides types SmallMaybeArray a
and MaybeArray a
which
are equivalent to SmallArray (Maybe a)
and Array (Maybe a)
, respectively,
but shaves off an indirection during indexing, making it more efficient for
these purposes.
haskell-primitive / primitive-maybe Goto Github PK
View Code? Open in Web Editor NEWArrays of Maybes, with fewer indirections
License: BSD 3-Clause "New" or "Revised" License