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

[FEATURE] Keyboard should use a fixed capacity queue #30

Open
RichardBrown384 opened this issue Jul 8, 2024 · 0 comments
Open

[FEATURE] Keyboard should use a fixed capacity queue #30

RichardBrown384 opened this issue Jul 8, 2024 · 0 comments
Labels
component:keyboard enhancement New feature or request

Comments

@RichardBrown384
Copy link
Owner

Is your feature request related to a problem? Please describe.
The keyboard implementation is currently using std::list which allocates and deallocates memory during operation.

Describe the solution you'd like
The keyboard should use a fixed capacity queue to avoid memory allocation and deallocation. The queue should be
oversized to avoid the situations where it's not possible to put keypresses into the queue.

Describe alternatives you've considered
N/A

Additional context
N/A.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:keyboard enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant