OVMS3-idf/components/nvs_flash/src
Ivan Grokhotkov bf01525fc1 nvs: remove search cache at page level
Since read cache was introduced at page level, search cache became
useless in terms of reducing the number of flash read operations.
In addition to that, search cache used an assumption that if pointers to
keys are identical, the keys are also identical, which was proven wrong
by applications which generate key names dynamically.

This change removes CachedFindInfo, and all its uses. This is done at
expense of a small extra number of CPU operations (looking up a value in
the read cache is slightly more expensive) but no extra flash read
operations.

Ref TW12505
Ref https://github.com/espressif/arduino-esp32/issues/365
2017-05-12 12:18:08 +08:00
..
compressed_enum_table.hpp components/nvs: make some methods const 2016-08-23 12:08:00 +08:00
intrusive_list.h Initial public version 2016-08-17 23:08:22 +08:00
nvs.hpp Initial public version 2016-08-17 23:08:22 +08:00
nvs_api.cpp phy_init: reduce the amount of hardwired logic, add coexist init 2016-11-18 20:11:17 +08:00
nvs_item_hash_list.cpp nvs: fix memory leaks in HashList and nvs_close 2016-10-26 12:25:53 +08:00
nvs_item_hash_list.hpp nvs: fix memory leaks in HashList and nvs_close 2016-10-26 12:25:53 +08:00
nvs_page.cpp nvs: remove search cache at page level 2017-05-12 12:18:08 +08:00
nvs_page.hpp nvs: remove search cache at page level 2017-05-12 12:18:08 +08:00
nvs_pagemanager.cpp nvs: check that storage has at least one free page 2017-03-14 22:03:39 +08:00
nvs_pagemanager.hpp components/nvs: fix formatting 2016-09-22 21:05:47 +08:00
nvs_platform.hpp nvs: allow nvs_flash_init to be called more than once 2016-11-18 20:11:16 +08:00
nvs_storage.cpp nvs: allow nvs_flash_init to be called more than once 2016-11-18 20:11:16 +08:00
nvs_storage.hpp nvs: allow nvs_flash_init to be called more than once 2016-11-18 20:11:16 +08:00
nvs_test_api.h nvs: allow nvs_flash_init to be called more than once 2016-11-18 20:11:16 +08:00
nvs_types.cpp components/nvs: maintain item hash list at page level 2016-09-21 18:02:52 +08:00
nvs_types.hpp components/nvs: fix formatting 2016-09-22 21:05:47 +08:00