From 52a90587e49d07a1e37488ec1a6f3acd471113b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=95=E3=82=A3=E3=83=AB=E3=82=BF=E3=83=BC=E3=83=9A?= =?UTF-8?q?=E3=83=BC=E3=83=91=E3=83=BC?= <76888457+filterpaper@users.noreply.github.com> Date: Sat, 26 Jul 2025 08:24:58 +0800 Subject: [PATCH] Add change log --- docs/ChangeLog/20250831/PR25515.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 docs/ChangeLog/20250831/PR25515.md 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.