Skip to content

Conversation

@methane
Copy link
Member

@methane methane commented Dec 31, 2019

Mitigate performance regression of the list comparison caused by
2d5bf56.

https://bugs.python.org/issue38588

Mitigate performance regression of the list comparison caused by
2d5bf56.
@pablogsal
Copy link
Member

pablogsal commented Dec 31, 2019

Wouldn't this affect this case? [float("nan")] == [float("nan")]

Edit: Sorry, I checked and it should not affect it.

Copy link
Member

@pablogsal pablogsal left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks for the analysis and the quick fix Inada-san.

And apologies for missing the comment in bpo.

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.

LGTM

Thanks for the analysis @methane

@methane methane merged commit dfef986 into python:master Dec 31, 2019
@methane methane deleted the list-cmp-opt branch December 31, 2019 01:58
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
Mitigate performance regression of the list comparison caused by 2d5bf56.
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.

5 participants