Skip to content

Conversation

@markshannon
Copy link
Member

@markshannon markshannon commented Mar 5, 2024

Rather than optimize _TO_BOOL_ALWAYS_TRUE directly, we can split it into micro-ops and use pre-existing optimizations.

@markshannon markshannon merged commit 23db9c6 into python:main Mar 5, 2024
@markshannon markshannon deleted the optimize-to-bool-always-true branch March 5, 2024 15:25
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants