File tree 1 file changed +4
-0
lines changed
src/app/codegen-data-model-provider
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -594,6 +594,8 @@ DataModel::CommandEntry CodegenDataModelProvider::NextAcceptedCommand(const Conc
594
594
CommandHandlerInterface * interface =
595
595
CommandHandlerInterfaceRegistry::Instance ().GetCommandHandler (before.mEndpointId , before.mClusterId );
596
596
597
+ // TODO: `Next` redirecting to a callback is slow O(n^2).
598
+ // see https://github.com/project-chip/connectedhomeip/issues/35790
597
599
if (interface != nullptr )
598
600
{
599
601
EnumeratorCommandFinder finder (EnumeratorCommandFinder::Operation::FindNext, before.mCommandId );
@@ -692,6 +694,8 @@ ConcreteCommandPath CodegenDataModelProvider::NextGeneratedCommand(const Concret
692
694
CommandHandlerInterface * interface =
693
695
CommandHandlerInterfaceRegistry::Instance ().GetCommandHandler (before.mEndpointId , before.mClusterId );
694
696
697
+ // TODO: `Next` redirecting to a callback is slow O(n^2).
698
+ // see https://github.com/project-chip/connectedhomeip/issues/35790
695
699
if (interface != nullptr )
696
700
{
697
701
EnumeratorCommandFinder finder (EnumeratorCommandFinder::Operation::FindNext, before.mCommandId );
You can’t perform that action at this time.
0 commit comments