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

Enable Comparison of Index Records #316

Merged
merged 2 commits into from
Jan 19, 2024
Merged

Enable Comparison of Index Records #316

merged 2 commits into from
Jan 19, 2024

Conversation

iberianpig
Copy link
Owner

In Fusuma, frequent comparisons are made to check if the gesture index matches the configured one. This also occurs in test cases. For performance considerations, it seems more effective to compare using cache_key and :symbol.

index_record.index == Config::Index([:remap, :LEFTSHIFT])
@iberianpig iberianpig merged commit ddb430d into main Jan 19, 2024
4 checks passed
@iberianpig iberianpig deleted the feature/compare_index branch January 19, 2024 22:57
@iberianpig iberianpig changed the title Enable Comparison of Index Records in Fusuma Enable Comparison of Index Records Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant