streamly icon indicating copy to clipboard operation
streamly copied to clipboard

Remove the capacity field in the unboxed mutable arrays?

Open harendra-kumar opened this issue 2 years ago • 1 comments

The capacity is available in the ByteArray# itself, we do not need to duplicate it.

harendra-kumar avatar Mar 25 '23 14:03 harendra-kumar

Is it related with arrBound :: {-# UNPACK #-} !Int filed in MutArray in module Streamly.Internal.Data.Array.Mut.Type

rnjtranjan avatar May 15 '23 07:05 rnjtranjan