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

opt: make argument extraction code smaller #2075

merged 1 commit into from Dec 24, 2021


Copy link

Similar to #2074, I found that the #[pyfunction] argument extraction code also had a fairly chunky LLVM line count.

Although not a perfect metric, is definitely linked to compile times.

Overall makes the LLVM line count of pyo3-pytests about 10% smaller, which seems pretty decent!

@davidhewitt davidhewitt force-pushed the opt-argument-extraction branch 3 times, most recently from c7c7fb8 to b0be6de Compare December 24, 2021 00:01
@davidhewitt davidhewitt merged commit adcc880 into PyO3:main Dec 24, 2021
@davidhewitt davidhewitt deleted the opt-argument-extraction branch December 24, 2021 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

1 participant