RichardBrown384 / Eichhoernchen

Acorn Archimedes A3000 Emulator in C++23
https://github.com/RichardBrown384/archimedes
MIT License
14 stars 0 forks source link

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

Open RichardBrown384 opened 2 months ago

RichardBrown384 commented 2 months ago

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.