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

add PyStringMethods::encode_utf8 #3801

Merged
merged 1 commit into from
Feb 10, 2024

add `PyStringMethods::encode_utf8`

662eecf
Select commit
Loading
Failed to load commit list.
Merged

add PyStringMethods::encode_utf8 #3801

add `PyStringMethods::encode_utf8`
662eecf
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Feb 5, 2024 in 0s

Performance Gate Passed

Summary

⚡ 3 improvements
✅ 76 untouched benchmarks

Benchmarks breakdown

Benchmark main davidhewitt:encode-utf8 Change
mapping_from_dict 327.8 ns 272.2 ns +20.41%
sequence_from_list 355.6 ns 300 ns +18.52%
not_a_list_via_downcast 242.8 ns 215 ns +12.92%