Skip to content

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