composewell / streamly

High performance, concurrent functional programming abstractions
https://streamly.composewell.com
Other
864 stars 66 forks source link

`putSliceUnsafe` should use `MutableByteAray` instead of `MutArray` #2546

Closed adithyaov closed 1 year ago

adithyaov commented 1 year ago

putSliceUnsafe does not use relative offsets. Using it with MutArray is confusing.

adithyaov commented 1 year ago

See https://github.com/composewell/streamly/pull/2554