Skip to content

[CodeComplete] Avoid dropping "is for code completion" bit #67626

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

Merged

Conversation

hamishknight
Copy link
Contributor

@hamishknight hamishknight commented Jul 31, 2023

This should no longer be needed now that we check for a code completion token when increasing the score. It should also allow us to skip more conjunction elements, as that requires the bit being set.

@xedin
Copy link
Contributor

xedin commented Jul 31, 2023

🤞

@hamishknight hamishknight force-pushed the try-without-completion-drop branch from 2ef4564 to c8c2abc Compare August 2, 2023 08:58
This should no longer be needed now that we check for a code
completion token when increasing the score. It should also
allow us to skip more conjunction elements, as that requires
the bit being set.
@hamishknight hamishknight force-pushed the try-without-completion-drop branch from c8c2abc to 6ede5e0 Compare August 3, 2023 20:16
@hamishknight hamishknight changed the title [DNM] Try not dropping "is for code completion" option [CodeComplete] Avoid dropping "is for code completion" bit Aug 3, 2023
@hamishknight hamishknight marked this pull request as ready for review August 3, 2023 20:17
@hamishknight
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

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

Great!

@hamishknight
Copy link
Contributor Author

The stress tester run didn't show any measurable performance impact

@hamishknight
Copy link
Contributor Author

@swift-ci please test macOS

@hamishknight hamishknight merged commit 7e2cdf8 into swiftlang:main Aug 4, 2023
@hamishknight hamishknight deleted the try-without-completion-drop branch August 4, 2023 21:24
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