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

Remove allocation in parse_identifier #12103

Merged
merged 1 commit into from
Jun 29, 2024

Remove allcation in `parse_identifier`

83894c9
Select commit
Loading
Failed to load commit list.
Merged

Remove allocation in parse_identifier #12103

Remove allcation in `parse_identifier`
83894c9
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Jun 29, 2024 in 0s

Performance Gate Passed

Summary

⚡ 4 improvements
✅ 26 untouched benchmarks

Benchmarks breakdown

Benchmark main parse-identifier-reduce-alloc Change
parser[large/dataset.py] 5.4 ms 5 ms +7.44%
parser[numpy/ctypeslib.py] 1,007.9 µs 954.6 µs +5.59%
parser[pydantic/types.py] 2.2 ms 2.1 ms +5.9%
parser[unicode/pypinyin.py] 329.3 µs 315 µs +4.54%