Skip to content

Conversation

@nissa-seru
Copy link
Contributor

@nissa-seru nissa-seru commented Feb 2, 2025

We are already using fastest-levenshtein - this diff is to just remove the homebrew implementation and uniformly use the (more efficient) implementation from the package.


Important

Replaces custom Levenshtein distance function with fastest-levenshtein package in search-replace.ts.

  • Behavior:
    • Replaces custom levenshteinDistance function with distance from fastest-levenshtein in getSimilarity() in search-replace.ts.
    • Removes the entire custom implementation of Levenshtein distance.
  • Imports:
    • Adds import for distance from fastest-levenshtein in search-replace.ts.

This description was created by Ellipsis for 5a1299c. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Feb 2, 2025

⚠️ No Changeset found

Latest commit: 5a1299c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mrubens mrubens merged commit fb596ff into RooCodeInc:main Feb 2, 2025
8 checks passed
@nissa-seru nissa-seru deleted the dedupe-levenshtein branch February 2, 2025 05:35
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.

3 participants