diff --git a/docs/ChangeLog/20250831/PR25515.md b/docs/ChangeLog/20250831/PR25515.md new file mode 100644 index 00000000000..ccc88e0c64c --- /dev/null +++ b/docs/ChangeLog/20250831/PR25515.md @@ -0,0 +1,3 @@ +# Refactor debounce algorithm with static allocation [#25515](https://github.com/qmk/qmk_firmware/pull/25515) + +Removed dynamic memory allocation (malloc, free) from all debounce implementations for improved efficiency on embedded systems and to avoid runtime allocation overhead. Refactored state arrays to use direct indexing, simplifying code and eliminating pointer arithmetic. Standardized usage of MATRIX_ROWS_PER_HAND throughout the codebase to ensure consistent support for split keyboards.