A community and blog for embedded software makers| Interrupt
Assume you need to parse a record based format with flexible width and one-byte delimiters. When using C++, the std::find() STL algorithm is the obvious choice for efficiently locating the delimiters. The idiomatic C solution is to use memchr(). Expectations Sample Code Methods How fast is std::find()? Does …| Georg's Log