Re:ATtention Spanned: Comprehensive Android Vulnerability An...
by kevin_thibedeau on Saturday August 25, 2018 @12:36AM
(#17839564)
Sequential search is near optimal for short lists. On embedded hardware you don't always have the luxury to create elaborate data structures for the "proper" solution.
[ Parent
| on HN ]
Re:ATtention Spanned: Comprehensive Android Vulnerability An...
by userbinator on Saturday August 25, 2018 @08:29PM
(#17843445)
That makes it all the more surprising that they would include the "AT" prefix, which all the commands start with --- if I were implementing a command processor like this in a memory- and CPU-constrained environment, I'd match "AT" separately from the rest (differing) parts of the command.
Re:ATtention Spanned: Comprehensive Android Vulnerability An...
by kevin_thibedeau on Sunday August 26, 2018 @10:55AM
(#17846173)
They probably support other commands without a common prefix. It's not worth special casing a subset of the command set. It only burns a few dozen bytes.