Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[mypyc] Speed up 'if x' for int values - #9854

Merged
JukkaL merged 3 commits into
masterfrom
optimize-if-int
Dec 30, 2020
Merged

[mypyc] Speed up 'if x' for int values#9854
JukkaL merged 3 commits into
masterfrom
optimize-if-int

Conversation

@JukkaL

@JukkaL JukkaL commented Dec 29, 2020

Copy link
Copy Markdown
Collaborator

This speeds up the if_true microbenchmark by about 5%. Code size is also
reduced.

@JukkaL
JukkaL requested a review from msullivan December 29, 2020 14:54

@TH3CHARLie TH3CHARLie left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks great! Thanks!

@JukkaL
JukkaL merged commit 4f3fcda into master Dec 30, 2020
@JukkaL
JukkaL deleted the optimize-if-int branch December 30, 2020 11:16
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