konsumlamm / rrb-vector

An implementation of a Relaxed Radix Balanced Vector in Haskell.
BSD 3-Clause "New" or "Revised" License
23 stars 5 forks source link

Use SmallMutableArray in Internal.Buffer #15

Closed meooow25 closed 11 months ago

meooow25 commented 11 months ago

...instead of Internal.Array. Since a Buffer doesn't need to support slicing, this will reduce the memory footprint of a Buffer (in case GHC can't optimize the indirection and offset and length away).

Fixes #13