Probably unnecessary Array copy #12856
samuelorji
started this conversation in
General
Replies: 2 comments
|
Please provide PR to fix this behaviour so :) |
0 replies
|
Array is a mutable structure and it is not safe to assume that it won't change. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
Is there any reason why we can't call
ByteString.fromArrayUnsafehere instead of callingapplyon ByteString which should save us an array copy .We already do
ByteString.fromArrayUnsafefor theJsValuewriteable here.All reactions