Skip to content

Add Docstrings to paths.py #1760

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

Merged
merged 1 commit into from
May 7, 2023

Conversation

gran4
Copy link
Contributor

@gran4 gran4 commented May 7, 2023

I'll add more later

@pvcraven pvcraven merged commit 4b5c19f into pythonarcade:development May 7, 2023
@gran4
Copy link
Contributor Author

gran4 commented May 8, 2023

@pvcraven
What is faster?

x2 < self.left or x2 > self.right or y2 < self.bottom or y2 > self.top

or
b in self.barriers

bc I see both

@gran4
Copy link
Contributor Author

gran4 commented May 8, 2023

get_vertex_neighbours seems inefficient.

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

Successfully merging this pull request may close these issues.

2 participants