Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Optimize validate_arguments #10

Merged
merged 1 commit into from
Jun 19, 2023
Merged

Optimize validate_arguments #10

merged 1 commit into from
Jun 19, 2023

Conversation

charliermarsh
Copy link
Member

Summary

Minor optimizations to validate_arguments, to avoid duplicate lookups, pre-allocate the vector, etc.

@charliermarsh
Copy link
Member Author

This could in theory be merged upstream, what's the workflow for that these days?

@MichaReiser
Copy link
Member

This could in theory be merged upstream, what's the workflow for that these days?

It's complicated :D You can create a new branch by forking from upstream rather our version. Make your changes and submit your PR to RustPython.

After merge: Merge the changes downstream by using git rebase --rebase-merges. This will probably pull in many larger changes

@MichaReiser
Copy link
Member

MichaReiser commented Jun 19, 2023

Nice! I didn't expect you to split this out into its own PR but thakn you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants