Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ext_proc: elide redundant copy in ext_proc filter factory callback #36015

Merged
merged 1 commit into from
Sep 10, 2024

elide redundant copy in ext_proc filter factory callback

45dd128
Select commit
Loading
Failed to load commit list.
Merged

ext_proc: elide redundant copy in ext_proc filter factory callback #36015

elide redundant copy in ext_proc filter factory callback
45dd128
Select commit
Loading
Failed to load commit list.
CI (Envoy) / Mobile/ASAN skipped Sep 6, 2024 in 0s

Check was skipped

This check was not triggered in this CI run

Details

Request (pr/36015/main@45dd128)

antoniovleonti @antoniovleonti 45dd128 #36015 merge main@b89afa2

elide redundant copy in ext_proc filter factory callback

Commit Message: elide redundant copy in ext_proc filter factory callback
Additional Description: the shared ptr is not needed in the function that created it after creating the callback. Just move the shared ptr into the callback to avoid the reference count being incremented then immediately decremented.
Risk Level: low
Testing: -
Docs Changes: -
Release Notes: -
Platform Specific Features: -

Environment

Request variables

Key Value
ref f28fccc
sha 45dd128
pr 36015
base-sha b89afa2
actor antoniovleonti @antoniovleonti
message elide redundant copy in ext_proc filter factory callback...
started 1725655297.785169
target-branch main
trusted false
Build image

Container image/s (as used in this CI run)

Key Value
default envoyproxy/envoy-build-ubuntu:f94a38f62220a2b017878b790b6ea98a0f6c5f9c
mobile envoyproxy/envoy-build-ubuntu:mobile-f94a38f62220a2b017878b790b6ea98a0f6c5f9c
Version

Envoy version (as used in this CI run)

Key Value
major 1
minor 32
patch 0
dev true