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

Add option to sort fully matched candidates first. #95

Merged
merged 4 commits into from
Feb 22, 2021

Conversation

okamsn
Copy link
Contributor

@okamsn okamsn commented Feb 19, 2021

Hello,

This is a first pass at sorting fully matched candidates before others. I asked about this in #75.

Do you see places where this could be improved? I do not have much experience with making Emacs fast.

Thank you.

@raxod502 raxod502 merged commit 44be76c into radian-software:master Feb 22, 2021
@raxod502
Copy link
Member

Thanks! I made a few changes. Mostly refactoring for clarity and avoiding code duplication, plus I called length before comparing the strings, which should presumably be a minuscule amount faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants