mirror of
https://github.com/jehna/humanify.git
synced 2026-04-28 01:55:56 +03:00
[PR #146] [MERGED] Fix rename time complexity from n² to n #200
Labels
No labels
bug
enhancement
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/humanify#200
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jehna/humanify/pull/146
Author: @jehna
Created: 10/6/2024
Status: ✅ Merged
Merged: 10/6/2024
Merged by: @jehna
Base:
main← Head:fix/complexity📝 Commits (1)
b8745b7Fix rename time complexity from n² to n📊 Changes
1 file changed (+14 additions, -37 deletions)
View changed files
📝
src/plugins/local-llm-rename/visit-all-identifiers.ts(+14 -37)📄 Description
Was doing unnecessary loops of AST, seems that it should be okay to loop the AST just once since Babel mutates the AST in place.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.