Skip to content

2026-06-01

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Jun 09:49
Avoid heap allocations in dep-file digest comparisons

Summary:
`check_remote_dep_file_entry` was calling `.to_vec()` on digest byte
slices just to compare them against `Vec<u8>` fields from the proto.
Compare `&[u8]` slices directly instead, eliminating 4 unnecessary heap
allocations per remote dep-file cache check.

Reviewed By: scottcao

Differential Revision: D106082425

fbshipit-source-id: e1d81b983a61bff494f9b5917afbaec815192d2d