zephyr/subsys/fs/nvs
Mike J. Chen 894503c758 nvs: improve nvs_flash_cmp_const()
Replace the use of a memcmp of a temp buffer filled with
the comparison value with a direct comparison of
the read buffer contents.

Improves speed of the function (no more memset() call)
and reduces stack usage.

Signed-off-by: Mike J. Chen <mjchen@google.com>
2024-03-05 10:55:40 +01:00
..
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig crc: Make the build of crc function dependent on a Kconfig 2022-11-23 13:30:00 +01:00
nvs.c nvs: improve nvs_flash_cmp_const() 2024-03-05 10:55:40 +01:00
nvs_priv.h nvs: implement NVS cache 2022-06-05 14:43:59 +02:00