Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys/config: Add option to skip dup check when saving values #3324

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 23, 2024

  1. sys/config: Add option to skip dup check when saving values

    By default value is written to config storage only if it changed since
    last stored value. This however requires that all stored values are read
    to determine last value and in case of conf_save this is done for each
    saved value which can take a lot of time.
    
    This adds option to skip that dup check and simply stores new value.
    This results in much faster writes at the expense of load times as there
    are more copies of the same value stored. Also conf_save will always
    write all exported values so this increase number of writes to flash.
    However, e.g. in case of large FCB used as config storage dup check on
    write can take much longer than simple read or store without dup checks.
    andrzej-kaczmarek committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    b061469 View commit details
    Browse the repository at this point in the history