Page MenuHomePhabricator

[services-lib][blob-client] Use Bytes instead of Vec<u8>
ClosedPublic

Authored by bartek on Aug 28 2023, 4:06 AM.
Tags
None
Referenced Files
F3188326: D8974.id30432.diff
Fri, Nov 8, 6:25 PM
Unknown Object (File)
Sun, Oct 27, 4:46 PM
Unknown Object (File)
Mon, Oct 14, 8:49 PM
Unknown Object (File)
Oct 2 2024, 2:42 PM
Unknown Object (File)
Sep 27 2024, 11:57 PM
Unknown Object (File)
Sep 27 2024, 11:57 PM
Unknown Object (File)
Sep 27 2024, 11:57 PM
Unknown Object (File)
Sep 27 2024, 11:49 PM
Subscribers

Details

Summary

Partially overlaps with D8964 - we should use Bytes instead of Vec<u8> for blob data to avoid unnecessary allocations.

Also added the bytes dependency to services-lib and re-exported it.

Depends on D8786

Test Plan

Tested together with the next diff

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable