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

Improve TextCommandHandler #35

Open
leandroBorgesFerreira opened this issue May 22, 2023 · 0 comments
Open

Improve TextCommandHandler #35

leandroBorgesFerreira opened this issue May 22, 2023 · 0 comments

Comments

@leandroBorgesFerreira
Copy link
Owner

This class currently does a very simple search for commands inside the text which can be slow when many commands are available.

It would be interesting to use a more clever search (probably using a ReverseIndex with each character being mapped to commands)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant