connectedhomeip
connectedhomeip copied to clipboard
Evaluate whether UnsolicitedMessageHandler::Matches can test IsInUse() without codesize impact
Problem
After https://github.com/project-chip/connectedhomeip/pull/5606, UnsolicitedMessageHandler::Matches
needs to be called only when IsInUse()
is known to be true. We could add an IsInUse()
test inside Matches()
, but need to check codesize impact. Which is hard right now because that code is not actually used in anything we measure codesize for.
Proposed Solution
Wait for https://github.com/project-chip/connectedhomeip/pull/5095 or equivalent to land, then do the measuring.
Or #5627
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This stale issue has been automatically closed. Thank you for your contributions.
Measured this on esp32 just now, and it's a slight (4 bytes) codesize hit. Probably not worth it.