Skip to content

Remove micro-optimization that no longer shows a benefit.#32397

Merged
rhettinger merged 37 commits intopython:mainfrom
rhettinger:set_no_bool
Apr 7, 2022
Merged

Remove micro-optimization that no longer shows a benefit.#32397
rhettinger merged 37 commits intopython:mainfrom
rhettinger:set_no_bool

Conversation

@rhettinger
Copy link
Copy Markdown
Contributor

In 3.11, not not somedeque runs just as fast without a __bool__ method. The __len__ method works just a fast.

rhettinger and others added 30 commits March 15, 2021 21:12
.
Merge branch 'master' of github.com:python/cpython
.
Merge branch 'master' of github.com:python/cpython
.
Merge branch 'master' of github.com:python/cpython
.
Merge branch 'master' of github.com:python/cpython
Merge branch 'main' of github.com:python/cpython into main
Merge branch 'main' of github.com:python/cpython
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Performance or resource usage skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants