tuned icon indicating copy to clipboard operation
tuned copied to clipboard

Avoid unnecessary inter-processor interrupts by checking that writes are necessary

Open zacikpa opened this issue 10 months ago • 0 comments

This PR adds a new option check_diff to the function commands.write_to_file. When set to True, the function checks whether the current value is equal to the one being written - if it is, the write is skipped.

The new option is disabled by default, but I enable it for plugin options where the write may cause an inter-processor interrupt even when the value does not change.

zacikpa avatar Apr 10 '24 14:04 zacikpa