project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.52k stars 2.02k forks source link

Followup code cleanup/optmization after #36319 #36327

Open andy31415 opened 2 weeks ago

andy31415 commented 2 weeks ago

Once we have a single codepath, some optimizations become clearer:

andy31415 commented 1 week ago

For the 3rd item, I could not find an immediate dedup logic for mLastSuccessfullyWrittenPath and mProcessingAttributePath as their code paths are updated at separate times. Deduplicating members within our handlers will likely require separate consideration.