snix/tvix/nix-compat/src/wire
Florian Klink 0dd421414e feat(tvix/nix-compat/wire/bytes): add #[inline] for ensure_* funcs
While the compiler might realize it's a good idea to inline these,
especially considering this is in the same crate [1], it doesn't hurt to
add that annotation too.

Suggested in cl/11385.

[1]: https://nnethercote.github.io/perf-book/inlining.html

Change-Id: If679fce0e1aab9ec681ba60f689d386d6fd92d61
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11403
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
2024-04-13 11:45:38 +00:00
..
bytes feat(tvix/nix-compat/wire/bytes): add #[inline] for ensure_* funcs 2024-04-13 11:45:38 +00:00
mod.rs refactor(tvix/nix-compat): move worker_protocol into nix_daemon mod 2024-04-13 10:09:35 +00:00
primitive.rs refactor(tvix/nix-compat/wire): move magic bytes to worker_protocol 2024-04-08 07:02:10 +00:00