about summary refs log tree commit diff
path: root/buf.gen.yaml
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-11-05T17·36+0300
committerclbot <clbot@tvl.fyi>2023-11-05T20·28+0000
commit327548d2fdefddc211d15302a8108999f352e685 (patch)
tree60be3a08fe4f1f54cf760a259ef75adf0196e5ae /buf.gen.yaml
parentb3b1f649d613c97a196528b1210dd5b914995c14 (diff)
refactor(tvix/nix-compat): check presence with btree_map's entry API r/6956
Walking a btree_map twice is more expensive than copying a string,
especially because the cloning only happens in the (non-hot) error
path.

This fixes a clippy lint, so it's related to b/321.

Change-Id: I2ccfd0bc46792a45d277f47564e595b87107d8be
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9962
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'buf.gen.yaml')
0 files changed, 0 insertions, 0 deletions