
7 Apr
2023
7 Apr
'23
6:15 a.m.
On Fri, 7 Apr 2023 at 12:57, Simon Peyton Jones
We are emitting a more efficient code when the size of the array is smaller. And the threshold is governed by a compiler flag:
It would be good if this was documented. Perhaps in the Haddock for `newByteArray#`? Or where?
The flag is documented in the GHC user guide but the behavior would be better discoverable if `newByteArray#` mentions it. -harendra