Skip to content

Conversation

sweeneyde
Copy link
Member

@sweeneyde sweeneyde commented Jul 21, 2020

Copy link
Member

@corona10 corona10 left a comment

Choose a reason for hiding this comment

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

FYI, on my local machine, there was no significant performance improvement.
(0-3% faster)

import pyperf

runner = pyperf.Runner()
runner.timeit(name="bench bool",
              stmt="""
a = bool(1)
b = bool(0)
c = bool()
d = bool(1000)
""")

@sweeneyde sweeneyde closed this Sep 28, 2020
@sweeneyde sweeneyde deleted the bool-arg-clinic branch January 25, 2022 23:09
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.

4 participants