qATCLI minor optimization
kmilo17pet opened this issue · 2 comments
kmilo17pet commented
Line 264 in 1af0462
Replace
if ( strstr( cmd, Command->Text ) == cmd )
with
if ( 0 == strncmp( cmd, Command->Text, Command->qPrivate.CmdLen ) )
This will improve speed and it will also be safe.
need to be tested on real scenarios
thejbte commented
kmilo17pet commented
ready on 7e45572