Skip to content

Conversation

sevdog
Copy link
Contributor

@sevdog sevdog commented Jun 21, 2024

The usage of all is an overengineering of what can be handled with a simple sequence of and.

Also since all is a function which requires an iterable as the only argument it is much slower than a simple logical operator.

@jwhitlock
Copy link
Member

@sevdog can you rebase or recreate this change on the latest main?

@sevdog sevdog force-pushed the improve-conditions branch from f395c85 to f11be06 Compare July 8, 2024 08:21
@sevdog
Copy link
Contributor Author

sevdog commented Jul 8, 2024

Branch rebased.

Copy link
Contributor

@stevejalim stevejalim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks for the contribution @sevdog

@jwhitlock jwhitlock merged commit 153696e into mozilla:main Jul 8, 2024
@sevdog sevdog deleted the improve-conditions branch July 8, 2024 14:34
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.

3 participants