Skip to content

Conversation

@teslae1
Copy link

@teslae1 teslae1 commented Dec 18, 2025

What this PR does / why we need it:
Now only constructs the action on match. The logic for this is now moved to a small wrapper called "ActionMatcher".

Which issue(s) this PR fixes
This pr fixes the TODO:

// TODO: Constructing up to several hundred Actions every time we hit a key is moronic

…ow only constructing new ones on action match - which we need since state gets mutated upon action match construction
@teslae1
Copy link
Author

teslae1 commented Dec 18, 2025

Hey @J-Fields first of all thanks a lot for your contributions to this extension - like many other developers I rely heavily upon this code everyday.

In this pull request I did my best to make a small change that resolves your TODO comment. I was wondering how I would go about getting this reviewed?

I ask this because I'm also awaiting a review on #9872

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.

1 participant