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

Explore differences between fuzzy-native #8

Open
rajendrant opened this issue Aug 31, 2020 · 1 comment
Open

Explore differences between fuzzy-native #8

rajendrant opened this issue Aug 31, 2020 · 1 comment
Assignees

Comments

@rajendrant
Copy link
Collaborator

https://github.com/hansonw/fuzzy-native

@rajendrant rajendrant self-assigned this Aug 31, 2020
@rajendrant
Copy link
Collaborator Author

The scoring mechanism for fuzzaldrin-plus is better than fuzzy-native.
Some examples:

  • Gives more score for CamelCase and snake_case acronyms.
  • Gives more score for matches in the filename than in the directory name.

https://github.com/jeancroy/fuzz-aldrin-plus#proposed-scoring-rules
https://github.com/hansonw/fuzzy-native/blob/master/src/score_match.cpp#L42

Using fuzzaldrin-plus or fuzzaldrin-plus-fast would avoid the following issues.
atom/fuzzy-finder#379 (comment)
atom/fuzzy-finder#403

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

No branches or pull requests

1 participant