feat(native): implement from_owned for PyBackedString - #19849
feat(native): implement from_owned for PyBackedString#19849paullegranddc wants to merge 1 commit into
Conversation
# Motivation We need to craft new strings for obfuscation. This force us to add a `from_owned` to SpanText. Since we need to store bith python string and rust strings now, the PyBackedString There are more efficient representation of this, but we can try them after benchamrking the current changes
Codeowners resolved asResolved from the full PR diff against |
|
Circular import analysis
|
Dependency direction analysis
|
# Motivation Obfuscation requires modifying spans in place, and re-writing strings. This is the most natural way to do this. This is going to cause breaking changes in downstream implementors of the crate, python for instance can be fixed like this DataDog/dd-trace-py#19849 # What does this PR do? Add from_owned to SpanText
Motivation
We need to craft new strings for obfuscation. This force us to add a
from_ownedto SpanText.Since we need to store bith python string and rust strings now, the PyBackedString
There are more efficient representation of this, but we can try them after benchamrking the current changes
Description
Testing
Risks
Additional Notes