Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codegen: fix bug with String egal test #31585

Merged
merged 2 commits into from
Apr 3, 2019
Merged

codegen: fix bug with String egal test #31585

merged 2 commits into from
Apr 3, 2019

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Apr 2, 2019

Note that String is pretty much the only case we have where == is actually faster than ===. We could perhaps consider importing the code for == into codegen, if we consider that to be an important consideration.

We were using && test where we meant to use ||.

fix #31583
Avoid emitting a branch-and-error check for impossibly large strings
@JeffBezanson JeffBezanson merged commit 965b73c into master Apr 3, 2019
@JeffBezanson JeffBezanson deleted the jn/31583 branch April 3, 2019 18:52
@JeffBezanson JeffBezanson added the bugfix This change fixes an existing bug label Apr 3, 2019
@bkamins
Copy link
Member

bkamins commented Aug 9, 2019

I can confirm that on 1.3 DEV this is fixed. Thank you!

EDIT: I mean it resolves #32842 issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants