Skip to content

Simplify booleans from stream#1878

Merged
mscuthbert merged 3 commits intomasterfrom
clear-bools
Apr 27, 2026
Merged

Simplify booleans from stream#1878
mscuthbert merged 3 commits intomasterfrom
clear-bools

Conversation

@mscuthbert
Copy link
Copy Markdown
Member

At some point around 2010 it was thought that comparing bools to is True or is False was faster (no conversion, etc.) -- this is definitely not standard practice anymore, but I never fixed up music21 to remove them.

At some point around 2010 it was thought that comparing bools to `is True` or `is False` was faster (no conversion, etc.) -- this is definitely not standard practice anymore, but I never fixed up music21 to remove them.
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 93.05% (-0.004%) from 93.054% — clear-bools into master

@mscuthbert mscuthbert merged commit 7cc6b70 into master Apr 27, 2026
8 checks passed
@mscuthbert mscuthbert deleted the clear-bools branch April 27, 2026 23:30
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