Using Array.Empty instead of zero length byte array allocation #227
fisherman6v6
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Wouldn't a conversion to |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Wouldn't be better to use
Array.Empty
instead ofnew byte[0]
in send functions to avoid unnecessary allocations?Beta Was this translation helpful? Give feedback.
All reactions