Skip to content

perf(core): avoid unnecessary allocations and clones#1981

Open
shiyasmohd wants to merge 1 commit intomainfrom
shiyasmohd/remove-clones
Open

perf(core): avoid unnecessary allocations and clones#1981
shiyasmohd wants to merge 1 commit intomainfrom
shiyasmohd/remove-clones

Conversation

@shiyasmohd
Copy link
Contributor

  • Replace Bytes::to_vec() with Bytes::into() for zero-copy
  • Remove unnecessary .clone()

@shiyasmohd shiyasmohd self-assigned this Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant